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 }) }}
/>
The Label for the Radiobox is to be added by the Parent.
initialState = { isSelected: false };
<RadioBox
isSelected={state.isSelected}
onClick={() => { setState({ isSelected: !state.isSelected }) }}
/>
npm i @belong-ui/radiobox
4
0.1.29
MIT
5.28 kB
9