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 }) }}
/>
belong-ui: Checkbox Component
<script type="module">
import belongUiCheckbox from 'https://cdn.skypack.dev/@belong-ui/checkbox';
</script>
The Label for the checkbox is to be added by the Parent.
initialState = { isChecked: false };
<Checkbox
isChecked={state.isChecked}
onClick={() => { setState({ isChecked: !state.isChecked }) }}
/>