From b97e4d5a62a29b3f033c4b52087c6e6e2074e5ad Mon Sep 17 00:00:00 2001 From: Joe Noon Date: Thu, 30 Jun 2016 15:23:08 -0700 Subject: [PATCH] pull in navigationBarStyle and titleStyle from props.navigationState in TabbedView. refs #870 --- src/TabbedView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TabbedView.js b/src/TabbedView.js index 2c33ed324..67b5798f5 100644 --- a/src/TabbedView.js +++ b/src/TabbedView.js @@ -54,7 +54,8 @@ class TabbedView extends Component { return; } this.renderedSceneKeys[key] = true; - scenes.push(this.renderScene(item, i)); + const {navigationBarStyle,titleStyle} = this.props.navigationState; + scenes.push(this.renderScene({navigationBarStyle,titleStyle,...item}, i)); }); return (