interface Stat { value: string; label: string; caption?: string; } interface StatGridProps { stats: Stat[]; } export function StatGrid({ stats }: StatGridProps) { return (
{stats.map((s) => (
{s.value}
{s.label}
{s.caption && (
{s.caption}
)}
))}
); }