()
| 6 | BASE_HEIGHT / children - spacing * ((children - 1) / children); |
| 7 | |
| 8 | export function Subgrid() { |
| 9 | const theme = useMantineTheme(); |
| 10 | return ( |
| 11 | <Container my="md"> |
| 12 | <SimpleGrid cols={{ base: 1, xs: 4 }}> |
| 13 | {getChild(BASE_HEIGHT)} |
| 14 | <Stack> |
| 15 | {getChild(getSubHeight(2, px(theme.spacing.md) as number))} |
| 16 | {getChild(getSubHeight(2, px(theme.spacing.md) as number))} |
| 17 | </Stack> |
| 18 | <Stack> |
| 19 | {getChild(getSubHeight(3, px(theme.spacing.md) as number))} |
| 20 | {getChild(getSubHeight(3, px(theme.spacing.md) as number))} |
| 21 | {getChild(getSubHeight(3, px(theme.spacing.md) as number))} |
| 22 | </Stack> |
| 23 | {getChild(BASE_HEIGHT)} |
| 24 | </SimpleGrid> |
| 25 | </Container> |
| 26 | ); |
| 27 | } |
nothing calls this directly
no test coverage detected