Skip to content
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

Library usage question #76

Open
DavideSegullo opened this issue May 21, 2023 · 3 comments
Open

Library usage question #76

DavideSegullo opened this issue May 21, 2023 · 3 comments
Labels
question Further information is requested

Comments

@DavideSegullo
Copy link

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 DavideSegullo added the question Further information is requested label May 21, 2023
@RichardLindhout
Copy link
Member

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

@DavideSegullo
Copy link
Author

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

@RichardLindhout
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants