I'm trying to disable round hover around Material UI Checkbox component. When Checkbox is not checked hover is disabled but I need to disable hover also when Checkbox is checked. Any tips how to do that?
Here is my Checkbox component:
<FormControlLabel
control={
<Checkbox
className={classes.checkbox}
icon={
<CheckBoxOutlineBlankIcon />
}
checkedIcon={
<CheckBoxIcon />
}
/>
/>
And here is my styling. This removes hover when Checkbox is not checked but not when Checkbox is checked:
checkbox: {
"&:hover": {
backgroundColor: "transparent",
},
},