Hide or disable a single tab
I do not think this is possible now - I'd like to completely hide or disable a specific tab in a TabNavigator programatically (eg. if user is deemed to have no access).
I found the TabBarVisible property in navigationOptions but that seems to be something else - hiding all the tabs when on that tab - I want to remove a single tab completely from the tab bar, depending upon some state of the containing component.
Also I may want to disable a single tab - show it greyed out but not respond to taps.
marked this post as