MCPcopy Create free account
hub / github.com/dailydotdev/apps / SquadStat

Function SquadStat

packages/shared/src/components/squads/common/SquadStat.tsx:11–20  ·  view source on GitHub ↗
({ count, label }: SquadStatProps)

Source from the content-addressed store, hash-verified

9}
10
11export 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
22export const SquadStats = ({ flags }: Pick<Squad, 'flags'>): ReactElement => (
23 <div className="flex flex-row gap-2">

Callers

nothing calls this directly

Calls 1

largeNumberFormatFunction · 0.90

Tested by

no test coverage detected