mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Polygon checkbox working active and inactive; need to hook up action to filter through events
This commit is contained in:
@@ -5,8 +5,8 @@ const Checkbox = ({ label, isActive, onClickCheckbox, color, styleProps }) => {
|
||||
<div className={isActive ? "item active" : "item"}>
|
||||
<span style={{ color: color }}>{label}</span>
|
||||
<button onClick={onClickCheckbox}>
|
||||
<div className="border">
|
||||
<div className="checkbox" style={styleProps} />
|
||||
<div className="border" style={styleProps.containerStyles}>
|
||||
<div className="checkbox" style={styleProps.checkboxStyles} />
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user