import { ChevronDown, ChevronUp } from 'lucide-react'; import { Collapsible, CollapsibleTrigger, CollapsibleContent } from '@/components/ui/collapsible'; import { Button } from '@/components/ui/button'; import { cn } from '@/lib/utils'; interface DetailedViewCollapsibleProps { isCollapsed: boolean; onToggle: () => void; children: React.ReactNode; className?: string; } /** * Collapsible wrapper for detailed field-by-field view sections * Provides expand/collapse functionality with visual indicators */ export function DetailedViewCollapsible({ isCollapsed, onToggle, children, className }: DetailedViewCollapsibleProps) { return ( onToggle()}>
{children}
); }