I have made a separate useStyle file and want to use this custom css in useStyle of material ui. How to achieve that?
input[type="checkbox"],
input[type="radio"] {
display: none;
}
I have made a separate useStyle file and want to use this custom css in useStyle of material ui. How to achieve that?
input[type="checkbox"],
input[type="radio"] {
display: none;
}
Copyright © 2021 Jogjafile Inc.
Let's say your
useStyles
file looks something like this:Back on your components, just import this file and attach it to a parent where you want all of its children
input
of typeradio
&checkbox
to be hidden