@belong-ui/checkbox
v0.1.29
Published
belong-ui: Checkbox Component
Downloads
43
Readme
Basic Checkbox Usage:
The Label for the checkbox is to be added by the Parent.
initialState = { isChecked: false };
<Checkbox
isChecked={state.isChecked}
onClick={() => { setState({ isChecked: !state.isChecked }) }}
/>