import { cn } from "lib/utils"; import { TriangleAlertIcon, VariableIcon, XIcon } from "lucide-react"; export function VariableMentionItem({ nodeName, path, notFound, onRemove, className, type, }: { nodeName: string; path: string[]; notFound?: boolean; onRemove?: () => void; className?: string; type?: string; }) { return (
{notFound ? ( ) : ( )} {type ? ( {type} ) : null} {nodeName}/ {path.join(".")} {onRemove ? ( ) : null}
); }