From 86db1b53b5bb7a56ca0af0499a61a050d55a029d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Desnoues Date: Mon, 5 Sep 2016 13:30:26 -0700 Subject: [PATCH] Update Switch.js docs - tintColor changes border Summary: Update documentation for Switch as it's not a background color that is displayed when the switch off, but juste the border (the background remains transparent) Closes https://github.com/facebook/react-native/pull/9707 Differential Revision: D3819887 Pulled By: mkonicek fbshipit-source-id: 218fd20deaded5260cc51e815b559f3cbbb3f752 --- Libraries/Components/Switch/Switch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js index 83d0b1312d..98ca2396e3 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -59,7 +59,7 @@ var Switch = React.createClass({ testID: React.PropTypes.string, /** - * Background color when the switch is turned off. + * Border color when the switch is turned off. * @platform ios */ tintColor: ColorPropType,