Allow headerLeft components to control their own rendering

Within the _renderLeftComponent there is logic around wether or not the component should be rendered.
This allows the headerLeft Component to make these decisions within it's own rendering
This commit is contained in:
wakeless 2018-10-02 22:27:00 +10:00
parent 106f1e74db
commit 660bef6b05
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ class Header extends React.PureComponent {
titleStyle={options.headerBackTitleStyle}
layoutPreset={this.props.layoutPreset}
width={width}
scene={props.scene}
/>
);
};