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

Function HudStat

packages/shared/src/components/quest/LevelHud.tsx:16–25  ·  view source on GitHub ↗
({ label, value }: HudStatProps)

Source from the content-addressed store, hash-verified

14};
15
16const HudStat = ({ label, value }: HudStatProps): ReactElement => (
17 <div className="flex items-baseline gap-1.5">
18 <Typography type={TypographyType.Subhead} className="text-white opacity-64">
19 {label}
20 </Typography>
21 <Typography type={TypographyType.Callout} bold className="text-white">
22 {value}
23 </Typography>
24 </div>
25);
26
27// Off-token purples, so these stay inline rather than fighting the
28// no-custom-color rule with arbitrary classes.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected