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

Search field in navigation bar #2902

Closed
webdevsyd opened this issue Feb 24, 2018 · 2 comments
Closed

Search field in navigation bar #2902

webdevsyd opened this issue Feb 24, 2018 · 2 comments

Comments

@webdevsyd
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.24(v3 is not supported)
  • react-native v0.50.3

I would like to ask on how to put a search field in the navigation bar, can't see any example. Hoping there are some people that already did this.

@rstims
Copy link

rstims commented Feb 28, 2018

I haven't tried it but perhaps you could build out your own navbar component and add it to the Scene using the navbar prop or the renderTitle prop, see https://github.com/aksonov/react-native-router-flux/blob/master/docs/API.md#scene

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Custom navbar is solution, @rstims is correct

@aksonov aksonov closed this as completed Aug 8, 2018
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

3 participants