import { Stack, Tag, Text } from '@chakra-ui/react' import { ChatEmbedCode } from 'components/share/codeSnippets/Chat/EmbedCode' import { ChatEmbedSettings } from 'components/share/codeSnippets/Chat/EmbedSettings' import { ContainerEmbedCode } from 'components/share/codeSnippets/Container/EmbedCode' import { StandardEmbedWindowSettings } from 'components/share/codeSnippets/Container/EmbedSettings' import { PopupEmbedCode } from 'components/share/codeSnippets/Popup/EmbedCode' import { PopupEmbedSettings } from 'components/share/codeSnippets/Popup/EmbedSettings' import { useState } from 'react' import { BubbleParams } from 'typebot-js' type JavascriptInstructionsProps = { type: 'standard' | 'popup' | 'bubble' } export const JavascriptInstructions = ({ type, }: JavascriptInstructionsProps) => { switch (type) { case 'standard': { return } case 'popup': { return } case 'bubble': { return } } } const StandardInstructions = () => { const [inputValues, setInputValues] = useState({ heightLabel: '100%', widthLabel: '100%', }) return ( Paste this anywhere in the body setInputValues({ ...settings })} /> ) } const PopupInstructions = () => { const [inputValue, setInputValue] = useState() return ( Paste this anywhere in the body setInputValue(settings.delay)} /> ) } const BubbleInstructions = () => { const [inputValues, setInputValues] = useState< Pick >({ proactiveMessage: undefined, button: { color: '', iconUrl: '', }, }) return ( Paste this anywhere in the body setInputValues({ ...settings })} /> ) }