Files
react-test/docs/data/joy/components/grid/ResponsiveGrid.tsx.preview

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
263 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<Grid
container
spacing={{ xs: 2, md: 3 }}
columns={{ xs: 4, sm: 8, md: 12 }}
sx={{ flexGrow: 1 }}
>
{Array.from(Array(6)).map((_, index) => (
<Grid key={index} size={{ xs: 2, sm: 4, md: 4 }}>
<Item>{index + 1}</Item>
</Grid>
))}
</Grid>