|
|
@ -16,16 +16,20 @@ export default function Checkbox(props) { |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
|
|
|
|
|
|
|
|
<div |
|
|
|
<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" }} |
|
|
|
style={{ color: "#000", height: "30px" }} |
|
|
|
> |
|
|
|
> |
|
|
|
<input |
|
|
|
<input |
|
|
|
className="checkbox-input" |
|
|
|
className="checkbox-input absolute hidden" |
|
|
|
id="apples" |
|
|
|
id="apples" |
|
|
|
type="checkbox" |
|
|
|
type="checkbox" |
|
|
|
checked={props.checked} |
|
|
|
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> |
|
|
|
<span> |
|
|
|
<svg width="12px" height="10px"> |
|
|
|
<svg width="12px" height="10px"> |
|
|
|
<use xlinkHref="#check"></use> |
|
|
|
<use xlinkHref="#check"></use> |
|
|
|