diff --git a/RNTester/js/SwitchExample.js b/RNTester/js/SwitchExample.js index ca36372e3788be..d1d81811b2b7c0 100644 --- a/RNTester/js/SwitchExample.js +++ b/RNTester/js/SwitchExample.js @@ -54,6 +54,10 @@ class BasicSwitchExample extends React.Component< this.setState({falseSwitchIsOn: value})} + trackColor={{ + true: 'yellow', + false: 'purple', + }} value={this.state.falseSwitchIsOn} />