import { Theme } from '@mui/material/styles'; import { CheckboxProps } from '@mui/material'; // import { CheckboxIcon, CheckboxCheckedIcon, CheckboxIndeterminateIcon } from './CustomIcons'; // ---------------------------------------------------------------------- export default function Checkbox(theme: Theme) { return { MuiCheckbox: { defaultProps: { icon: , checkedIcon: , indeterminateIcon: , }, styleOverrides: { root: ({ ownerState }: { ownerState: CheckboxProps }) => ({ padding: theme.spacing(1), ...(ownerState.size === 'small' && { '& svg': { width: 20, height: 20 }, }), ...(ownerState.size === 'medium' && { '& svg': { width: 24, height: 24 }, }), }), }, }, }; }