import { FormControlLabel, Checkbox, useTheme, Box } from "@mui/material"; interface Props { label: string; handleChange?: () => void; } export default function CustomCheckbox({ label, handleChange }: Props) { const theme = useTheme(); return ( } checkedIcon={} onChange={handleChange} />} label={label} sx={{ color: theme.palette.grey2.main, ml: "-9px", userSelect: "none", }} /> ); } function Icon() { const theme = useTheme(); return ( ); } function CheckedIcon() { const theme = useTheme(); return ( ); }