SwitchAndroid #


Use <Switch> instead for cross-platform compatibility.

Props #

disabled PropTypes.bool #

If true, this component can't be interacted with.

onValueChange PropTypes.func #

Invoked with the new value when the value changes.

testID PropTypes.string #

Used to locate this view in end-to-end tests.

value PropTypes.bool #

Boolean value of the switch.

Вы можете отредактировать перевод на GitHub и создать pull request!