Open willsonJewlr opened 9 years ago
I'm also looking for a way to hide the nav bar.
Me too :(
check my fork
take a look at this fork .. you can hide the navigation bar with a simple prop. https://github.com/darkrishabh/react-native-router/ check the commits to know better. BTW, I would recommend you to fork it and then use it. I use it for my custom usage and it may change in future
Ideally, I would like to start with hidden navbar -> shown -> then hidden again Is this even possible?
Passing it inside the toRoute does not seem to work.
this.props.toRoute({ component: require('../../Main'), hideNavigationBar: true, })
I'm pretty sure there is a way, there should be.
Or, is it possible to stop using react-native-router in the middle of the route and render a new component (page)?