From 660bef6b05068ce599f84539f6f2ee0dd2d8301c Mon Sep 17 00:00:00 2001 From: wakeless Date: Tue, 2 Oct 2018 22:27:00 +1000 Subject: [PATCH] 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 --- src/views/Header/Header.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Header/Header.js b/src/views/Header/Header.js index 189b711..f2d78d5 100644 --- a/src/views/Header/Header.js +++ b/src/views/Header/Header.js @@ -217,6 +217,7 @@ class Header extends React.PureComponent { titleStyle={options.headerBackTitleStyle} layoutPreset={this.props.layoutPreset} width={width} + scene={props.scene} /> ); };