import { LucideIcon } from "lucide-react"; import { cn } from "@/lib/utils"; interface SectionHeaderProps { icon: LucideIcon; title: string; count: number; tabs?: Array<{ id: string; label: string; count: number; active: boolean; onClick: () => void; }>; } const SectionHeader = ({ icon: Icon, title, count, tabs }: SectionHeaderProps) => { return (
{tabs && tabs.length > 1 ? (
{tabs.map((tab, idx) => (
{idx < tabs.length - 1 && /}
))}
) : ( {title} ({count}) )}
); }; export default SectionHeader;