react-native-ridge-navigation
react-native-ridge-navigation copied to clipboard
Library usage question
Hi, I'm trying to use this library, but I don't understand how to create a stack navigation without it being grafted inside a tab navigation.
Also, can you completely customize the tab bar?
Thank you!
You can create a normalRoot for that, see the https://github.com/web-ridge/react-native-ridge-navigation/blob/main/example/src/App.tsx#L97
The tabbar is completely customizable via override on web but on native we use the native bottom bar of the specific platforms, you can customize all colors using a theme which can be seen here in the commented code
https://github.com/web-ridge/react-native-ridge-navigation/blob/main/example/src/App.tsx#L47
Thanks, if I can't customize it, can it be hidden so I can add a custom bar? This way it doesn't seem very flexible to me for some designs
Ah I see for now not possible but I see your point I don’t have time to add this but it is possible but it need to work with preloading i’ll give it some thought. You could do amazing stuff btw with colours so it can look very cool especially the new material you bottom bar on Android is very nice!