mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
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
This commit is contained in:
parent
99d742c0b7
commit
86db1b53b5
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user