react-native-router icon indicating copy to clipboard operation
react-native-router copied to clipboard

hideNavigationBar: can you pass this to the toRoute?

Open willsonJewlr opened this issue 10 years ago • 4 comments
trafficstars

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)?

willsonJewlr avatar Jul 17 '15 00:07 willsonJewlr

I'm also looking for a way to hide the nav bar.

pickhardt avatar Aug 11 '15 21:08 pickhardt

Me too :(

BigPun86 avatar Oct 14 '15 09:10 BigPun86

check my fork

darkrishabh avatar Oct 28 '15 23:10 darkrishabh

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

darkrishabh avatar Oct 28 '15 23:10 darkrishabh