import ReactMarkdown from 'react-markdown' import rehypeRaw from 'rehype-raw' import remarkGfm from 'remark-gfm' import { cn } from '@/lib/utils' interface MarkdownProps { children: string className?: string } export function Markdown({ children, className }: MarkdownProps) { return (
*:first-child]:mt-0 [&>*:last-child]:mb-0', '[overflow-wrap:anywhere] break-words', className )} > ( ), }} > {children}
) }