export interface DataProps { /** The figure. Always the monospace — a number in the sans breaks the document. */ value: string; /** Its unit or suffix, one tier quieter. */ unit?: string; className?: string; } export function Data({ value, unit, className }: DataProps) { return ( {value} {unit !== undefined && {unit}} ); }