Home > database >  Hide title on Bottom Tabs Navigator
Hide title on Bottom Tabs Navigator

Time:11-11

I'm using Bottom Tabs Navigator but it has some title that i'm not able to hide:

enter image description here

I saw there is tabBarShowLabel but nothing for the label particular

CodePudding user response:

The tabBarShowLabel option is to specify whether or not you want to display the label inside the bottom tab with the icon.

You can use headerShown like this :

<Tab.Screen
  name="Navigator"
  component={YourComponent}
    options={() => {         // or just options={{headerShown: false}}
      return {
        headerShown: false,
        ...
      ),
    };
  }}
/>
  • Related