({ label, value }: HudStatProps)
| 14 | }; |
| 15 | |
| 16 | const 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. |
nothing calls this directly
no outgoing calls
no test coverage detected