[ReactNative] fix navIOS example

Summary: constants were refactored to be enums.

Test Plan:
@public

navIOS example doesn't fatal.
This commit is contained in:
Spencer Ahrens 2015-06-09 12:01:08 -07:00
parent 2a08897c6e
commit f590a8b15b
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ var NavigatorIOSColors = React.createClass({
render: function() {
// Set StatusBar with light contents to get better contrast
StatusBarIOS.setStyle(StatusBarIOS.Style.lightContent);
StatusBarIOS.setStyle('light-content');
return (
<NavigatorIOS
@ -55,7 +55,7 @@ var NavigatorIOSColors = React.createClass({
title: '<NavigatorIOS>',
rightButtonTitle: 'Done',
onRightButtonPress: () => {
StatusBarIOS.setStyle(StatusBarIOS.Style['default']);
StatusBarIOS.setStyle('default');
this.props.onExampleExit();
},
passProps: {