Radio
Useful for allowing users to select only one option from a set.
Props
Prop | Type | Description |
---|---|---|
children | ReactNode | The content to render |
appearance | default | minimal | negative | positive | The theming to apply |
id | String | The id of the radio |
name | String | The name of the radio |
value | String | The value of the radio |
description | String | A text description of the radio |
isChecked | Boolean | Whether it is checked or not |
onChange | Function | A function to be called when the value changes |
Examples
todo