"use client"; import { Trash2, X } from "lucide-react"; import type { AnnotatedElement } from "@/lib/flow-board/mind-annotations"; export function XmindAnnotationPanel({ element, onChange, onDelete, onClose, }: { element: AnnotatedElement; onChange: (patch: Record) => void; onDelete: () => void; onClose: () => void; }) { const relationship = element.mindAnnotation.kind === "relationship"; const label = (element.texts?.[0]?.text?.children || []) .map((leaf: { text?: string }) => leaf.text || "") .join(""); return ( ); }