@belong-ui/radiobox

0.1.29 • Public • Published

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 }) }}
/>

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @belong-ui/radiobox

    Weekly Downloads

    4

    Version

    0.1.29

    License

    MIT

    Unpacked Size

    5.28 kB

    Total Files

    9

    Last publish

    Collaborators

    • kaarthek
    • saurabh2112
    • theatsharma