Skip to content

Commit

Permalink
pull in navigationBarStyle and titleStyle from props.navigationState
Browse files Browse the repository at this point in the history
in TabbedView. refs aksonov#870
  • Loading branch information
joenoon committed Jun 30, 2016
1 parent ff92c06 commit b97e4d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TabbedView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<View style={this.props.style}>
Expand Down

0 comments on commit b97e4d5

Please sign in to comment.