import { HoverCard, useMantineTheme} from '@mantine/core'; import { RichTextEditor, Link } from '@mantine/tiptap'; import { useEditor } from '@tiptap/react'; import StarterKit from '@tiptap/starter-kit'; import { IconInfoCircle } from '@tabler/icons-react'; interface InfoCardProps { content: string; } export const InfoCard = ({ content }: InfoCardProps) => { const { colorScheme } = useMantineTheme(); const editor = useEditor({ content, editable: false, editorProps:{ attributes:{ style: 'padding: 0;' }, }, extensions: [ StarterKit, Link, ], }); return ( ) };