()
| 1 | import { Box, Column, Flex, Text } from 'gestalt'; |
| 2 | |
| 3 | export default function Example() { |
| 4 | return ( |
| 5 | <Flex alignItems="center" height="100%" justifyContent="center" width="100%"> |
| 6 | {Array(12) |
| 7 | // @ts-expect-error - TS2554 - Expected 1-3 arguments, but got 0. |
| 8 | .fill() |
| 9 | .map((_, i) => ( |
| 10 | // eslint-disable-next-line react/no-array-index-key |
| 11 | <Column key={i} span={1}> |
| 12 | <Box color="secondary" padding={1}> |
| 13 | <Box color="default" paddingY={2}> |
| 14 | <Text align="center"> |
| 15 | <code>span</code> |
| 16 | <br /> |
| 17 | <code>= 1</code> |
| 18 | </Text> |
| 19 | </Box> |
| 20 | </Box> |
| 21 | </Column> |
| 22 | ))} |
| 23 | </Flex> |
| 24 | ); |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected