({ children }: Props)
| 6 | }; |
| 7 | |
| 8 | export function ThemedRoot({ children }: Props) { |
| 9 | const { colors } = useTheme(); |
| 10 | |
| 11 | return ( |
| 12 | <box |
| 13 | backgroundColor={colors.background} |
| 14 | width="100%" |
| 15 | height="100%" |
| 16 | flexGrow={1} |
| 17 | > |
| 18 | {children} |
| 19 | </box> |
| 20 | ); |
| 21 | }; |
nothing calls this directly
no test coverage detected