export interface StatProps { value: string; label: string; /** Where the figure came from — a query, a window, a dashboard. */ source?: string; className?: string; } /** The reference renders `0+` under GITHUB STARS when its fetch does not return. * A confident wrong number is worse than an absent one, so an empty `value` * renders the skeleton and never a zero. */ export function Stat({ value, label, source, className }: StatProps) { const pending = value.trim() === ''; return (