Custom Tab Bar example - with dynamic routes #892
Unanswered
timoisalive
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I would also love to see an example of this. I just started a project where the design calls for the bottom border color to change when a tab is active. Too bad there isn't a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to my other topic (#890), I'd be happy to see an example of a custom Tab Bar, fully integrated with Expo Router.
React Navigation documentation provides an example (https://reactnavigation.org/docs/bottom-tab-navigator/#tabbar), but this one doesn't work with Expo Router dynamic routes as pictured here: https://docs.expo.dev/router/advanced/tabs/#dynamic-routes. The
href
option is not taken into account and is not actually even accessible in the custom component, as far as I can tell.Maybe there are also other aspects to Expo Router Tab Bar which are not covered in the React Navigation example, but at least the dynamic routes would be nice to know how to achieve!
Beta Was this translation helpful? Give feedback.
All reactions