import RadioButtonGroup from 'react-native-material-design-components/lib/RadioButtonGroup.js'
RadioButtonGroup
Extends:
react-native~Component → RadioButtonGroup
RadioButtonGroup Component
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) |
Member Summary
Public Members | ||
public |
state: {selected: *} |
|
public get |
Get the value of checked RadioButton in RadioButtonGroup. |
|
public set |
Specifies that which RadioButton should be pre-selected |
Public Constructors
public constructor(props: object) source
Params:
Name | Type | Attribute | Description |
props | object | ||
props.name | string | RadioButtonGroup name. Often use in form |
|
props.theme | enum(THEME_NAME) |
|
RadioButton theme option |
props.primary | enum(COLOR_NAME) |
|
RadioButton primary color name. Specifies that which RadioButton should be pre-selected |
props.value | string |
|
The value of checked RadioButton |
props.onSelect | function(value: string) |
|
When RadioButtonGroup value change will trigger this function |