Skip to content

Commit

Permalink
Fix the style of the NavBar content wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jgkim committed Oct 10, 2016
1 parent 728c995 commit a52f7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ class NavBar extends React.Component {
const navigationBarBackgroundImage = this.props.navigationBarBackgroundImage ||
state.navigationBarBackgroundImage;
const contents = (
<View>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}>
{renderTitle ? renderTitle(navProps) : state.children.map(this.renderTitle, this)}
{renderBackButton(navProps) || renderLeftButton(navProps)}
{renderRightButton(navProps)}
Expand Down

0 comments on commit a52f7c8

Please sign in to comment.