import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank'; import CheckBoxIcon from '@mui/icons-material/CheckBox'; import { Checkbox, styled } from '@mui/material'; const SelectOptionCheckbox = styled(Checkbox)(({ theme }) => ({ marginRight: theme.spacing(0.4), })); export const renderOption = ( props: object & { key?: string }, option: { label: string }, { selected }: { selected: boolean }, ) => { const { key, ...rest } = props; return (
  • } checkedIcon={} checked={selected} /> {option.label}
  • ); };