import { Stack, Text } from '@chakra-ui/react' import { CodeEditor } from 'components/shared/CodeEditor' type Props = { type: 'standard' | 'popup' | 'bubble' } export const ReactInstructions = ({ type }: Props) => { switch (type) { case 'standard': { return } case 'popup': { return } case 'bubble': { return } } } const StandardInstructions = () => { // const [inputValues, setInputValues] = useState({ // heightLabel: '100%', // widthLabel: '100%', // }) return ( {/* */} {/* setInputValues({ ...settings })} /> */} {/* {t('insert-the-typebot-container')} */} ) } const PopupInstructions = () => { // const [inputValue, setInputValue] = useState(0) return ( {/* setInputValue(settings.delay ?? 0)} /> {t('initialize-the-typebot')} */} ) } const BubbleInstructions = () => { // const { t } = useTranslation() // const [inputValues, setInputValues] = useState< // Pick // >({ // proactiveMessage: undefined, // button: { // color: '', // iconUrl: '', // }, // }) return ( {/* setInputValues({ ...settings })} /> {t('initialize-the-typebot')} */} ) } const InstallPackageInstruction = () => { return ( Install the package: ) }