import { Checkbox, createStyles, Stack } from '@mantine/core'; const useStyles = createStyles((theme) => ({ root: { display: 'flex', alignItems: 'center', }, input: { backgroundColor: theme.colors.dark[7], '&:checked': { backgroundColor: theme.colors.dark[2], borderColor: theme.colors.dark[2] }, }, inner: { '> svg > path': { fill: theme.colors.dark[6], }, }, })); const CustomCheckbox: React.FC<{ checked: boolean }> = ({ checked }) => { const { classes } = useStyles(); return ( ); }; export default CustomCheckbox;