import React from 'react'; import { styled } from '@mui/material/styles'; import MuiCheckbox from '@mui/material/Checkbox'; import type { CheckboxProps } from '@mui/material'; const CustomCheckbox = styled(MuiCheckbox)(({ theme }) => ({ width: 20, height: 20, padding: 0, '&.Mui-disabled': { opacity: 0.38, }, '&.Mui-focusVisible:after': { content: '""', position: 'absolute', width: 24, height: 24, border: `1px solid ${theme.palette.lunit_token.core.status_focused}`, borderRadius: '7px', }, })); const iconSize = { width: 18, height: 18, }; const DefaultIcon = styled('span')(({ theme }) => ({ ...iconSize, borderRadius: '20%', boxShadow: `inset 0 0 0 1.5px ${theme.palette.lunit_token.component.selectcontrol_off}`, })); const CheckedIcon = () => { return ( ); }; const IndeterminateIcon = () => { return ( ); }; const Checkbox = (props: CheckboxProps) => { return ( } checkedIcon={} indeterminateIcon={} {...props} /> ); }; export default Checkbox;