({ count, label }: SquadStatProps)
| 9 | } |
| 10 | |
| 11 | export function SquadStat({ count, label }: SquadStatProps): ReactElement { |
| 12 | return ( |
| 13 | <span className="flex flex-row text-text-tertiary typo-footnote"> |
| 14 | <strong className="mr-1 text-text-primary typo-subhead"> |
| 15 | {largeNumberFormat(count)} |
| 16 | </strong> |
| 17 | {label} |
| 18 | </span> |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | export const SquadStats = ({ flags }: Pick<Squad, 'flags'>): ReactElement => ( |
| 23 | <div className="flex flex-row gap-2"> |
nothing calls this directly
no test coverage detected