Radio
API
Props
Declaration | Description | Type | Default | Required |
---|---|---|---|---|
value | Default state value | Boolean | false | false |
onValueChange | Function to be called when value changes | Function(value: Boolean) | (): void ) | true |
Style names
Radio
doesn’t have specific style names.
Note You can change the active color by overwriting the
radioActiveColor
variable. Read more about this here.
JSX Declaration
<Radio
value={this.state.radio}
onValueChange={(value) => console.log('Radio value', value) }
/>
Snack Example
Coming soon.