import React from 'react' type Stat = { value: string label: string } type StatsStripProps = { stats?: Stat[] } export function StatsStripBlock({ stats }: StatsStripProps) { if (!Array.isArray(stats) || stats.length === 0) return null return (
{stats.map((stat, i) => (

{stat.value}

{stat.label}

))}
) }