From b0f5d90bf2e952479896ed51a08d42a22da6ee3c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 11 Jan 2016 20:58:16 +0000 Subject: [PATCH] update website --- docs/switch.html | 143 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 142 insertions(+), 1 deletion(-) diff --git a/docs/switch.html b/docs/switch.html index a6d8f135aa0..9cc8e1e7fa6 100644 --- a/docs/switch.html +++ b/docs/switch.html @@ -1,6 +1,147 @@ Switch – React Native | A framework for building native apps using React

Switch

Universal two-state toggle component.

Edit on GitHubProps #

disabled bool #

If true the user won't be able to toggle the switch. Default value is false.

onValueChange function #

Invoked with the new value when the value changes.

testID string #

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

value bool #

The value of the switch. If true the switch will be turned on. -Default value is false.

iosonTintColor ColorPropType #

Background color when the switch is turned on.

iosthumbTintColor ColorPropType #

Color of the foreground switch grip.

iostintColor ColorPropType #

Background color when the switch is turned off.

© 2015 Facebook Inc.