README
Basic Radiobox Usage:
The Label for the Radiobox is to be added by the Parent.
initialState = { isSelected: false };
<RadioBox
isSelected={state.isSelected}
onClick={() => { setState({ isSelected: !state.isSelected }) }}
/>
belong-ui: Radiobox Component
<script type="module">
import belongUiRadiobox from 'https://cdn.skypack.dev/@belong-ui/radiobox';
</script>
The Label for the Radiobox is to be added by the Parent.
initialState = { isSelected: false };
<RadioBox
isSelected={state.isSelected}
onClick={() => { setState({ isSelected: !state.isSelected }) }}
/>