import * as React from 'react'; import FormLabel from '@mui/material/FormLabel'; import FormControl from '@mui/material/FormControl'; import FormGroup from '@mui/material/FormGroup'; import FormControlLabel from '@mui/material/FormControlLabel'; import FormHelperText from '@mui/material/FormHelperText'; import Switch from '@mui/material/Switch'; export default function SwitchesGroup() { const [state, setState] = React.useState({ gilad: true, jason: false, antoine: true, }); const handleChange = (event) => { setState({ ...state, [event.target.name]: event.target.checked, }); }; return ( Assign responsibility } label="Gilad Gray" /> } label="Jason Killian" /> } label="Antoine Llorca" /> Be careful ); }