17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
![]() |
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}
|
||
|
/>
|
||
|
</>
|
||
|
)
|
||
|
}
|