RadioPicker

Renders a custom radio picker component.

Usage

import { RadioPicker } from '@binarycapsule/ui-capsules';

Knobs 🎛

<RadioPicker
  helpText="Praesent commodo cursus magna."
  label="Lorem Ipsum"
  onChange={function}
/>

Example

Props

NameDescription
checked
Required
boolean
The checked state of the radio.
onChange
Required
function
The function to handle the onChange event.
label
Required
string
The RadioPicker label.
helpText
string(Default: )
Helper text rendered below the label.