import { Bubble } from '@/Bubble' import { open, toggle, close, showPreviewMessage, hidePreviewMessage, setPrefilledVariables, } from '@typebot.io/js' import { useState } from 'react' import { leadGenerationTypebot } from './assets/leadGenerationTypebot' export const Default = () => { const [name, setName] = useState('John') return (

Predefined name:

setName(e.target.value)} />
) }