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}