|
|
|
@ -16,16 +16,20 @@ export default function Checkbox(props) { |
|
|
|
|
</svg> |
|
|
|
|
|
|
|
|
|
<div |
|
|
|
|
className="checkbox-container flex flex-wrap justify-center items-center border-box" |
|
|
|
|
className="checkbox-container flex flex-wrap justify-center items-center hover:bg-inherit border-box" |
|
|
|
|
style={{ color: "#000", height: "30px" }} |
|
|
|
|
> |
|
|
|
|
<input |
|
|
|
|
className="checkbox-input" |
|
|
|
|
className="checkbox-input absolute hidden" |
|
|
|
|
id="apples" |
|
|
|
|
type="checkbox" |
|
|
|
|
checked={props.checked} |
|
|
|
|
/> |
|
|
|
|
<label className="checkbox" htmlFor="apples"> |
|
|
|
|
<label |
|
|
|
|
className="checkbox flex rounded-sm transition-all duration-100 cursor-pointer select-none overflow-hidden" |
|
|
|
|
style={{ padding: "6px 8px" }} |
|
|
|
|
htmlFor="apples" |
|
|
|
|
> |
|
|
|
|
<span> |
|
|
|
|
<svg width="12px" height="10px"> |
|
|
|
|
<use xlinkHref="#check"></use> |
|
|
|
|