Radio
Renders a custom radio.
Usage
import { Radio } from '@binarycapsule/ui-capsules';
Knobs 🎛
medium
<Radio
onChange={function}
>
Hello world
</Radio>
Props
Name | Description |
---|---|
checkedRequired | boolean The checked state of the radio. |
onChangeRequired | function The function to handle the onChange event. |
disabled | boolean(Default: false) The disabled state of the radio. |
size | "small" | "medium" | "large"(Default: "small") The size of the radio. |
children | string(Default: undefined) The radio label. |