@belong-ui/radiobox
v0.1.29
Published
belong-ui: Radiobox Component
Downloads
41
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 }) }}
/>