import Button from '@mui/material/Button'; import ButtonGroup from '@mui/material/ButtonGroup'; import Box from '@mui/material/Box'; const buttons = [ , , , ]; export default function GroupOrientation() { return ( *': { m: 1, }, }} > {buttons} {buttons} {buttons} ); }