"use client"; import type { ReactNode } from "react"; import { ChevronDown } from "lucide-react"; import { Badge } from "@/components/ui/Badge"; import { cn, type BadgeVariant } from "@/lib/ui/variants"; interface ReviewSectionPanelProps { title: string; subtitle?: string; statusLabel: string; statusVariant: BadgeVariant; children: ReactNode; defaultOpen?: boolean; } export function ReviewSectionPanel({ title, subtitle, statusLabel, statusVariant, children, defaultOpen = false, }: ReviewSectionPanelProps) { return (
{title} {subtitle ? ( {subtitle} ) : null} {statusLabel}
{children}
); }