0

I'm trying to find out how to hide a specific button from a BottomTabBar in react-navigation.

I know that I can create hidden screen in StackNavigator instead of TabBarNavigator but then my BottomTabBar won't be visible on that hidden screen.

Does anyone know how to implement so?

Ivan Burzakovskyi
  • 693
  • 1
  • 8
  • 25

1 Answers1

0

In the Docs

You have the option TabVisible: boolean = true you can see to false.

Can't go further without sample code. But reading the Docs is a good start.

T04435
  • 12,507
  • 5
  • 54
  • 54
  • There is no any information in the Docs about **tabVisible**. Only **tabBarVisible** but it's not the same. I need to hide only one button from the bar, not the whole bar. – Ivan Burzakovskyi Jan 08 '19 at 01:24