"use client"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; import { Edit, Trash2 } from "lucide-react"; interface TreeItemRowProps { icon?: React.ReactNode; title: string; subtitle?: string; badges?: Array<{ text: string; variant?: "default" | "secondary" | "destructive" | "outline"; className?: string; }>; onEdit?: () => void; onDelete?: () => void; canDelete?: boolean; showSeparator?: boolean; additionalInfo?: React.ReactNode; } export function TreeItemRow({ icon, title, subtitle, badges = [], onEdit, onDelete, canDelete = true, showSeparator = false, additionalInfo, }: TreeItemRowProps) { return (
{subtitle}
)}