title: How to add both search bar and tab buttons in react-native using react-navigation
body: <p><a href="https://i.stack.imgur.com/5yNuP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5yNuP.jpg" alt="enter image description here"></a></p>
  
  <p>I have a login Screen, when the user login they are brought to a screen similar to the one shown above.</p>
  
  <p>In this screen, I have a tabNavigator containing tabs to 5 screens, similar to the one shown in the image above. It also has a header kinda thing with search bar in it. This header is only supposed to be shown in 4 of the 5 tabs and there is a different header i need to display in the 5th tab.</p>
  
  <p>Is there a way to do this? I know i can add a view in 4 of the 5 tabs that render same header and a view in the 5th screen that renders a different header, <strong>But I was wondering if there is a way I could do this without having to render the same view in all the 4 tabs again and again.</strong></p>
  
  <p>P.S It should work on both iOS and Android</p>