Radio Button

Used when users must select exactly one option from an exposed list of options. You can either use a default type or the list type

Preview

      <Radio
          options={["a", "b", "c"]}
          name="row"
          selected={radioSelected}
          setSelected={setRadioSelected}
        ></Radio>
       
NameParamsDescription
optionthe props 'option' will receive an array of option, maximal 3 options and minimum 2 options
radioTypedefault, listthe props 'radioType' will decide the display of radio button, either a row direction or column
selectedthe props 'selected' will receive a state as props
setSelectedthe props 'setSelected' will receive a setState as props