import * as React from 'react'; import Grid from '@mui/joy/Grid'; import FormLabel from '@mui/joy/FormLabel'; import FormControl from '@mui/joy/FormControl'; import RadioGroup from '@mui/joy/RadioGroup'; import Radio from '@mui/joy/Radio'; import Sheet from '@mui/joy/Sheet'; import { HighlightedCode } from '@mui/docs/HighlightedCode'; import { BrandingProvider } from '@mui/docs/branding'; export default function SpacingGrid() { const [spacing, setSpacing] = React.useState(2); const handleChange = (event) => { setSpacing(Number(event.target.value)); }; const jsx = ` `; return ( {[0, 1, 2].map((value) => ( ))} spacing {[0, 0.5, 1, 2, 3, 4, 8, 12].map((value) => ( ))} ); }