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

How can i add gradient in background color of navbar? #2206

Closed
aitemr opened this issue Aug 9, 2017 · 3 comments
Closed

How can i add gradient in background color of navbar? #2206

aitemr opened this issue Aug 9, 2017 · 3 comments

Comments

@aitemr
Copy link

aitemr commented Aug 9, 2017

Version

Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.17
react-native v0.47.1

I know that I can add custom navBar but I don't know how?

@aksonov
Copy link
Owner

aksonov commented Aug 11, 2017

Pass navBar property as your custom navbar to Router - it will be propagated to all scenes.

@aitemr
Copy link
Author

aitemr commented Aug 11, 2017

@aksonov Could you share how to create custom navigation bar?

@aksonov
Copy link
Owner

aksonov commented Aug 11, 2017

No. It is about react native programming - just pass your component to navBar, have you tried it? Check react-navigation docs (because RNRF uses react-navigation) about customisation of nav bar (i.e.header within navigationOptions)

@aitemr aitemr closed this as completed Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants