/* eslint-disable */ import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Paper from '@mui/material/Paper'; import Grid from '@mui/material/Grid'; const Item = styled(Paper)(({ theme }) => ({ backgroundColor: '#fff', ...theme.typography.body2, padding: theme.spacing(1), textAlign: 'center', color: theme.palette.text.secondary, ...theme.applyStyles('dark', { backgroundColor: '#1A2027', }), })); export default function VariableWidthGrid() { return ( size=auto size=6 size=grow Nested 10 under a 12 Nested 2 under a 12 Nested 10 under a 12 override spacing Nested 2 under a 12 override spacing {/* Container not nested in container. Does not inherit spacing */} Incorrectly nested 10 under a 12 Incorrectly nested 2 under a 12 <> {/* Container not nested in container. Does not inherit spacing */} Nested 10 under a 12 with fragment Nested 2 under a 12 with fragment ); }