-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs section under the navbar. #2913
Comments
same here |
Finally I got success with a custom navBar, the only problem with it is that I can not refresh the props of the navBar from the child components(tabs). My structure:
|
|
adding ex.
|
It looks solved |
@pgonzalez-santiago Thanks buddy u saved my DAY i too had the same probs |
@GreenCame thanks man... the wraps props was definitely the best way to solve it, but take care to avoid a Scene or a Stack on the outside in order to avoid another navbar above the Tab's navbar <Tabs
swipeEnabled
type="replace"
key="tribeSummary"
title="Tribe summary"
showLabel={false}
back
wrap={false}
>
<Scene key="overview" title="overview" icon={TabIcon} component={TribeOverviewComponent} />
<Scene key="harvest" title="harvest" icon={TabIcon} component={TribeHarvestComponent} />
<Scene key="seeds" title="seeds" icon={TabIcon} component={TribeSeedsComponent} />
</Tabs> |
So as @pgonzalez-santiago stated the way to fix this is with navBar={MediaNavBar} but what about a Scene that is a Drawer? SInce it has no component attached (to be replaced with MediaNavBar) |
Adding |
Version
Right now I have a screen in my RN application that need 3 tabs in the top. My question is: It is possible to place the tabs under the navbar?
right now its looking like this:
The structure is:
I need to see the tabs down the navbar.
The text was updated successfully, but these errors were encountered: