<LayerPanelCheckbox />

Constructor

# <LayerPanelCheckbox checkboxState handleClick color />

PropTypes:
Name Type Required Description Default
checkboxState union No checkbox checked state, either string('indeterminate') or bool
handleClick func Yes function that handles the click of checkbox. Returns the event and the state of the checkbox (bool)
color string No string for checkbox checked color (hex) '#152357'
Since:
  • 0.5.0

View Source LayerPanel/LayerPanelCheckbox/index.js, line 13