RadioButton

Single selection controls

Examples

<RadioButton.Group>
<RadioButton text="Option1" checked />
<RadioButton text="Option2" />
</RadioButton.Group>

States

Disabled

<RadioButton.Group>
<RadioButton text="Option1" value="1" disabled />
<RadioButton text="Option2" value="2" disabled />
</RadioButton.Group>

Checked

<RadioButton.Group>
<RadioButton text="Option1" value="1" checked />
<RadioButton text="Option2" value="2" />
</RadioButton.Group>

API

Props

Name Description Type Optional value Default
CircleComponent - element - -
text - string - Empty string (‘’)
textStyle - style - -
value - string - -
disabled - bool - false
checked - bool - false

Events

Name Description
onCheckedChange -