0.0.1 • Published 7 years ago
discover-shared-ebsco-ui-checkbox v0.0.1
To override styles of a custom-checkbox
First, create a css class that chains the class of the container you are placing the checkboxes in.
e.g. if the checkboxes are in a container with class checkbox-container
, create css file checkbox-override.css
:
.checkbox-container.checkbox-override {
color: burlywood;
}
Then, supply the checkbox-override
as the className prop of the custom-checkbox
<div className="checkbox-container"
<CustomCheckbox
label="Click Me"
className="checkbox-override"
/>
...
/>
0.0.1
7 years ago