From cf1e9a24f1a35ab8e14927bfb57c2f490a0ec565 Mon Sep 17 00:00:00 2001 From: Jayan <46986762+jayan2019@users.noreply.github.com> Date: Mon, 17 Jun 2019 11:42:59 +0530 Subject: [PATCH] Update index.js Get opacity to hide header text only --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index a7244cc..24b3dec 100644 --- a/index.js +++ b/index.js @@ -307,12 +307,11 @@ class RNParallax extends Component { style={[ styles.bar, { - height: this.getHeaderMinHeight(), - opacity: navBarOpacity, + height: this.getHeaderMinHeight() }, ]} > - {renderNavBar()} + {renderNavBar(navBarOpacity)} ); }