react-native-ridge-navigation icon indicating copy to clipboard operation
react-native-ridge-navigation copied to clipboard

Library usage question

Open DavideSegullo opened this issue 2 years ago • 3 comments

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!

DavideSegullo avatar May 21 '23 09:05 DavideSegullo

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

RichardLindhout avatar May 21 '23 11:05 RichardLindhout

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

DavideSegullo avatar May 21 '23 19:05 DavideSegullo

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!

RichardLindhout avatar May 21 '23 20:05 RichardLindhout