import CopyToClipboard from '@/components/copy-to-clipboard'; import HightLightMarkdown from '@/components/highlight-markdown'; import { useTranslate } from '@/hooks/common-hooks'; import { IModalProps } from '@/interfaces/common'; import { Card, Modal, Tabs, TabsProps } from 'antd'; import styles from './index.less'; const EmbedModal = ({ visible, hideModal, token = '', }: IModalProps & { token: string }) => { const { t } = useTranslate('chat'); const text = ` ~~~ html ~~~ `; const items: TabsProps['items'] = [ { key: '1', label: t('fullScreenTitle'), children: ( } className={styles.codeCard} > {text} ), }, { key: '2', label: t('partialTitle'), children: t('comingSoon'), }, { key: '3', label: t('extensionTitle'), children: t('comingSoon'), }, ]; const onChange = (key: string) => { console.log(key); }; return ( ); }; export default EmbedModal;