Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
37 lines
892 B
TypeScript
37 lines
892 B
TypeScript
import Box from '@mui/material/Box';
|
|
import Grid from '@mui/material/Grid';
|
|
|
|
export default function FullBorderedGrid() {
|
|
return (
|
|
<Box sx={{ flexGrow: 1, p: 2 }}>
|
|
<Grid
|
|
container
|
|
sx={{
|
|
'--Grid-borderWidth': '1px',
|
|
borderTop: 'var(--Grid-borderWidth) solid',
|
|
borderLeft: 'var(--Grid-borderWidth) solid',
|
|
borderColor: 'divider',
|
|
'& > div': {
|
|
borderRight: 'var(--Grid-borderWidth) solid',
|
|
borderBottom: 'var(--Grid-borderWidth) solid',
|
|
borderColor: 'divider',
|
|
},
|
|
}}
|
|
>
|
|
{[...Array(6)].map((_, index) => (
|
|
<Grid
|
|
key={index}
|
|
minHeight={160}
|
|
size={{
|
|
xs: 12,
|
|
sm: 6,
|
|
md: 4,
|
|
lg: 3,
|
|
}}
|
|
/>
|
|
))}
|
|
</Grid>
|
|
</Box>
|
|
);
|
|
}
|