import { ListItem, OrderedList, Tag } from '@chakra-ui/react'
import { useState } from 'react'
type WixInstructionsProps = {
type: 'standard' | 'popup' | 'bubble'
}
export const WixInstructions = ({ type }: WixInstructionsProps) => {
switch (type) {
case 'standard': {
return
}
case 'popup': {
return
}
case 'bubble': {
return
}
}
}
const StandardInstructions = () => {
return (
<>
In the Wix Website Editor:
Add {'>'} Embed {'>'} Embed a Widget
Click on Enter code and paste this code:
>
)
}
const PopupInstructions = () => {
// const [inputValue, setInputValue] = useState(0)
return (
<>
Go to Settings in your dashboard on Wix
Click on Custom Code under Advanced
Click + Add Custom Code at the top right.
Paste this snippet in the code box:
>
)
}
const BubbleInstructions = () => {
// const [inputValues, setInputValues] = useState<
// Pick
// >({
// proactiveMessage: undefined,
// button: {
// color: '',
// iconUrl: '',
// },
// })
return (
<>
Go to Settings in your dashboard on Wix
Click on Custom Code under Advanced
Click + Add Custom Code at the top right.
Paste this snippet in the code box:
{/* setInputValues({ ...settings })}
/>
sendWixCopyEvent('bubble')}
/> */}
>
)
}