title: how to remove tab bar from a particular screen?
body: <p>I have created a navigator with 4 tab navigator screens-&gt;Home, Search, Upload and Library; and I have stack navigation screens like Sign up, log in, home tabs, and video.
  Now, I want to remove the bottom tab bar from the Upload screen but am not sure whether it is possible?</p>
  <p>Below is the exact code that I have written:</p>
  <pre><code>import React from 'react';
  import 'react-native-gesture-handler';
  import {StatusBar} from 'react-native';
  import {NavigationContainer, DarkTheme} from '@react-navigation/native';
  import {createStackNavigator} from '@react-navigation/stack';
  import {createMaterialBottomTabNavigator} from '@react-navigation/material-bottom-tabs';
  import MaterialCommunityIcons from 'react-native-vector-icons/MaterialIcons';
  
  import Home from '../screens/Home';
  import Search from '../screens/Search';
  import Library from '../screens/Library';
  import ProfileAuthor from '../screens/ProffileAuthor';
  import Shoot from '../screens/Shoot';
  import LoginScreen from '../screens/LoginScreen';
  import SignUp from '../screens/SignUp';
  
  const Stack = createStackNavigator();
  const Tab = createMaterialBottomTabNavigator();
  
  function myTabs() {
    return (
      &lt;Tab.Navigator
        initialRouteName=&quot;Home&quot;
        activeColor=&quot;#000&quot;
        inactiveColor=&quot;#000&quot;
        barStyle={{
          backgroundColor: '#FFF',
        }}&gt;
        &lt;Tab.Screen
          name=&quot;Home&quot;
          component={Home}
          options={{
            title: 'Home',
            tabBarLabel: 'Home',
            tabBarIcon: ({color}) =&gt; (
              &lt;MaterialCommunityIcons color={color} name=&quot;home&quot; size={26} /&gt;
            ),
          }}
        /&gt;
        &lt;Tab.Screen
          name=&quot;Search&quot;
          component={Search}
          options={{
            title: 'Search',
            tabBarLabel: 'Search',
            tabBarIcon: ({color}) =&gt; (
              &lt;MaterialCommunityIcons color={color} name=&quot;search&quot; size={26} /&gt;
            ),
          }}
        /&gt;
        &lt;Tab.Screen
          name=&quot;Upload&quot;
          component={Shoot}
          options={{
            title: 'Upload',
            tabBarLabel: 'Upload',
            tabBarIcon: ({color}) =&gt; (
              &lt;MaterialCommunityIcons color={color} name=&quot;add-box&quot; size={26} /&gt;
            ),
          }}
        /&gt;
        &lt;Tab.Screen
          name=&quot;Library&quot;
          component={Library}
          options={{
            title: 'Library',
            tabBarLabel: 'Library',
            tabBarIcon: ({color}) =&gt; (
              &lt;MaterialCommunityIcons
                color={color}
                name=&quot;person-outline&quot;
                size={26}
              /&gt;
            ),
          }}
        /&gt;
      &lt;/Tab.Navigator&gt;
    );
  }
  
  const Routes = () =&gt; {
    return (
      &lt;NavigationContainer theme={DarkTheme}&gt;
        &lt;Stack.Navigator&gt;
          &lt;Stack.Screen
            name=&quot;login&quot;
            component={LoginScreen}
            options={{
              header: () =&gt; null,
            }}
          /&gt;
          &lt;Stack.Screen
            name=&quot;signup&quot;
            component={SignUp}
            options={{
              header: () =&gt; null,
            }}
          /&gt;
          &lt;Stack.Screen
            name=&quot;Home&quot;
            component={myTabs}
            options={{
              header: () =&gt; null,
            }}
          /&gt;
          
          &lt;Stack.Screen
            name=&quot;Video&quot;
            component={ProfileAuthor}
            options={{
              header: () =&gt; null,
            }}
          /&gt;
        &lt;/Stack.Navigator&gt;
      &lt;/NavigationContainer&gt;
    );
  };
  
  export default Routes;
  </code></pre>
  <p>could anyone please tell me whether it is possible in this structure, if yes then how to implement? any help would be great.</p>