2
0

Add Bubble and Popup in embed lib v2

Closes #214
This commit is contained in:
Baptiste Arnaud
2023-01-09 14:51:36 +01:00
parent 4bf93b4872
commit 21f1c7a17e
38 changed files with 1586 additions and 96 deletions

View File

@ -0,0 +1,16 @@
import { Popup } from '../Popup'
import { open, toggle } from '@typebot.io/js'
export const Default = () => {
return (
<>
<button onClick={open}>Open modal</button>
<button onClick={toggle}>Toggle modal</button>
<Popup
typebotId="ladleTypebot"
apiHost="http://localhost:3001"
autoShowDelay={3000}
/>
</>
)
}