expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps
https://docs.expo.dev/routing/introduction/
1.36k stars 113 forks source link

[ROUTER/TABS] feat: Hide tabs by default option #878

Closed dejakob closed 12 months ago

dejakob commented 12 months ago

Motivation

It can be useful to only show the user-defined tabs in the tab-bar instead of showing all routes by default.

Execution

This PR implements a hideTabsByDefault property that will ensure that the tab bar will only show the defined tabs instead of tabs for all routes

Test Plan

TBA

reinismu commented 1 week ago

This would be nice. Did you find another way to do it?

Struggling with tabs now. In dev mode it works fine, but when built in up it decided to add all my components in tabs :/