import Checkbox from "@mui/material/Checkbox"; import FormGroup from '@mui/material/FormGroup'; import FormControlLabel from '@mui/material/FormControlLabel'; export interface Props { label: string; value: boolean; onChange: (v: boolean) => void; disabled?: boolean; } export default function InputBoolean({ label, value = false, onChange, disabled = false, }: Props) { return onChange(!value)} />} label={label} /> }