import type { Element } from "hast"; import { cn } from "@/lib/utils"; interface MentionProps extends React.HTMLAttributes { node?: Element; "data-mention"?: string; children?: React.ReactNode; resolved?: boolean; } export const Mention: React.FC = ({ "data-mention": dataMention, children, className, node: _node, resolved = false, ...props }) => { const username = dataMention || ""; if (!resolved) { return ( {children} ); } return ( {children} ); };