import React from "react"; import {Checkbox, FormControlLabel} from "@mui/material"; import {SwitchBaseProps} from "@mui/material/internal/SwitchBase"; export interface LabeledCheckboxProps { checked: SwitchBaseProps['checked'], onChange: SwitchBaseProps['onChange'], name: string, label: string, } function LabeledCheckbox(props: LabeledCheckboxProps) { return ( } label={props.label} /> ); } export default LabeledCheckbox;