title: How to hide a tab bar in bottom tabs navigator, React Native 6x
body: <p>I have in my app Bottom Tab Navigator version 6x. Im looking for solution how to hide a tab bar to one of screen which I use in my app - reviewDetail.js</p>
  <p>Here is my navigation file:</p>
  <p>AppNavigator.js</p>
  <pre><code>import { createBottomTabNavigator } from &quot;@react-navigation/bottom-tabs&quot;;
  import React from &quot;react&quot;;
  
  import about from &quot;../screens/about&quot;;
  import home from &quot;../screens/home&quot;;
  import reviewDetails from &quot;../screens/reviewDetails&quot;;
  
  const Tab = createBottomTabNavigator();
  
  const AppNavigator = () =&gt; (
    &lt;Tab.Navigator&gt;
      &lt;Tab.Screen
        name=&quot;about&quot;
        component={about}
        options={{
          title: &quot;About&quot;,
        }}
      &gt;&lt;/Tab.Screen&gt;
      &lt;Tab.Screen
        name=&quot;home&quot;
        component={home}
        options={{
          title: &quot;Home&quot;,
        }}
      &gt;&lt;/Tab.Screen&gt;
      &lt;Tab.Screen name=&quot;reviewDetails&quot; component={reviewDetails}&gt;&lt;/Tab.Screen&gt;
    &lt;/Tab.Navigator&gt;
  );
  
  export default AppNavigator;
  </code></pre>
  <p>here is my app.js</p>
  <p>App.js</p>
  <pre><code>import React from &quot;react&quot;;
  import { NavigationContainer, useNavigation } from &quot;@react-navigation/native&quot;;
  import AppNavigator from &quot;./navigation/AppNavigator&quot;;
  
  export default function App() {
    return (
      &lt;&gt;
        &lt;NavigationContainer&gt;
          &lt;AppNavigator /&gt;
        &lt;/NavigationContainer&gt;
      &lt;/&gt;
    );
  }
  </code></pre>
  <p>Here is what I have:
  <br/><br/></p>
  <p><a href="https://i.stack.imgur.com/ePT1R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ePT1R.png" alt="enter image description here" /></a></p>
  <p>And what I want to display:
  <br/>
  <br/>
  <a href="https://i.stack.imgur.com/RVic6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RVic6.png" alt="enter image description here" /></a></p>
  <p>What should I change in my code to hide &quot;reviewDetails&quot; tab bar?
  I still want to navigate to reviewDetails because I use it in my app, I only need to hide this tab bar.</p>