-
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
Custom tab bar #2169
Comments
You can get the current tabbar index at |
@luco sorry, but how is that relevant to my problem ? :) |
Just check react-navigation TabBarBottom sources |
@aksonov So I need this ... https://github.com/react-community/react-navigation/blob/master/src/views/TabView/TabView.js#L80 Unfortunately, last time I checked, there was no |
It should be there otherwise tabs would not work in Example project ;) |
First try to pass react-navigation TabBarBottom as |
|
@mybolide Please reproduce with pure react-navigation to make sure that it is not their bug. Give me link for forked and modified Example or other demo with the issue. |
How to re-use I mean, Scene has (In a custom tab bar component) |
Version
Tell us which versions you are using:
Enhancement
I want to render completely custom tab bar, simply because the default implementation is missing an option to show label only for the active tab. Using
tabBarComponent
it doesn't seems there is a way to access props of the scene which would be lovely.I would be willing to do a PR for this, but I feel a bit lost in code, so if you can point me in the right direction? It's probably going down to
react-navigation
since I am unable to find this.The text was updated successfully, but these errors were encountered: