import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; interface Summary { total: string | number; confirmed: string | number; declined: string | number; pending: string | number; } interface CapacityWarning { message: string; percent: number; confirmed: number; capacity: number; } interface RsvpSummaryCardProps { summary: Summary; warning?: CapacityWarning | null; } export function RsvpSummaryCard({ summary, warning }: RsvpSummaryCardProps) { return (
סה״כ מוזמנים

{summary.total}

מאושרים

{summary.confirmed}

לא מגיעים

{summary.declined}

ממתינים

{summary.pending}

{warning && (
⚠️ {warning.message}
)}
); }