Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
462 B

import {
Checkbox as MUICheckbox,
checkboxClasses as muiCheckboxClasses,
} from '@mui/material';
import { FC } from 'react';
import { GREY } from '../lib/consts/DEFAULT_THEME';
const Checkbox: FC<CheckboxProps> = ({ sx, ...checkboxProps }) => (
<MUICheckbox
{...{
...checkboxProps,
sx: {
color: GREY,
[`&.${muiCheckboxClasses.checked}`]: { color: GREY },
...sx,
},
}}
/>
);
export default Checkbox;