import { Checkbox, FormControlLabel } from "@mui/material"; import React from "react"; import { CheckboxIcon } from "@icons/Checkbox"; import type { SxProps } from "@mui/material"; interface Props { label: string; handleChange?: (event: React.ChangeEvent) => void; checked?: boolean; sx?: SxProps; dataCy?: string; colorIcon?: string; } export default function CustomCheckbox({ label, handleChange, checked, sx, dataCy, colorIcon }: Props) { return ( } checkedIcon={} onChange={handleChange} checked={checked} data-cy={dataCy} /> } label={label} sx={{ color: "#9A9AAF", height: "26px", ...sx, }} /> ); }