import { useState } from 'react'; import { ChevronDown, ChevronRight } from 'lucide-react'; interface ReportSectionProps { title: string; icon: React.ComponentType<{ className?: string }>; children: React.ReactNode; defaultCollapsed?: boolean; } export const ReportSection = ({ title, icon: Icon, children, defaultCollapsed = false, }: ReportSectionProps) => { const [collapsed, setCollapsed] = useState(defaultCollapsed); return (