import React , { FC } from 'react' ; export interface StatsBarStat { label : string ; value : number ; show ? : boolean ; } interface StatProps { stat : StatsBarStat ; } export const Stat = ( { stat } ) => { return ( < span className = "stat" > < span > { stat . label } < /span>: <strong>{stat.value}</strong > < /span>); } ;