Skip to main content

RadioButton.Android

Radio buttons allow the selection a single option from a set. This component follows platform guidelines for Android, but can be used on any platform.

Props

TouchableRipple props

value (required)

Type: string

Value of the radio button

status

Type: 'checked' | 'unchecked'

Status of radio button.

disabled

Type: boolean

Whether radio is disabled.

onPress

Type: (param?: any) => void

Function to execute on press.

uncheckedColor

Type: string

Custom color for unchecked radio.

color

Type: string

Custom color for radio.

theme

Type: ThemeProp

testID

Type: string

testID to be used on tests.