import { FC } from 'react'
import { Checkbox } from '@material-tailwind/react';

type Props = {
    onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
    checked: boolean;
}

const CheckBoxComponent: FC<Props> = (props: Props) => {
    return (
        <Checkbox checked={props.checked} onChange={props.onChange} onPointerEnterCapture={undefined} onPointerLeaveCapture={undefined} crossOrigin={undefined} />
    )
}

export default CheckBoxComponent