From ca0272136bb14f18dd3e813735e5c82d35ff0828 Mon Sep 17 00:00:00 2001 From: nim23 Date: Sat, 28 Mar 2015 23:33:41 +0000 Subject: [PATCH] Add support for bar tint color in NavigatorIOS component. Fixes #387. --- Libraries/Components/Navigation/NavigatorIOS.ios.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Libraries/Components/Navigation/NavigatorIOS.ios.js b/Libraries/Components/Navigation/NavigatorIOS.ios.js index aa5039edbfdb..f249da5e4441 100644 --- a/Libraries/Components/Navigation/NavigatorIOS.ios.js +++ b/Libraries/Components/Navigation/NavigatorIOS.ios.js @@ -246,6 +246,10 @@ var NavigatorIOS = React.createClass({ */ tintColor: PropTypes.string, + /** + * The color used for background of the navigation bar + */ + barTintColor: PropTypes.string }, navigator: (undefined: ?Object), @@ -547,7 +551,8 @@ var NavigatorIOS = React.createClass({ backButtonTitle={route.backButtonTitle} rightButtonTitle={route.rightButtonTitle} onNavRightButtonTap={route.onRightButtonPress} - tintColor={this.props.tintColor}> + tintColor={this.props.tintColor} + barTintColor={this.props.barTintColor}>