({ title, children })
| 27 | } |
| 28 | |
| 29 | const StatRow: React.FC<StatRowProps> = ({ title, children }) => ( |
| 30 | <Box> |
| 31 | {/* Fixed width for the label creates a clean "gutter" for alignment */} |
| 32 | <Box width={28}> |
| 33 | <Text color={Colors.LightBlue}>{title}</Text> |
| 34 | </Box> |
| 35 | {children} |
| 36 | </Box> |
| 37 | ); |
| 38 | |
| 39 | // A SubStatRow for indented, secondary information |
| 40 | interface SubStatRowProps { |
nothing calls this directly
no outgoing calls
no test coverage detected