expo / ex-navigator

Route-centric navigation built on top of React Native's Navigator
MIT License
522 stars 68 forks source link

Support for using ToolbarAndroid in renderNavigationBar #103

Open cancan101 opened 8 years ago

ide commented 8 years ago

We're unlikely to build this because we optimize for iteration speed and customizability, so we greatly prefer code in JavaScript. renderNavigationBar lets you return whatever you want as long as it conforms to the NavigationBar interface, so you could implement your own custom navbar that uses an Android component.

cancan101 commented 8 years ago

Looking over the code, routeMapper seems to have some hard assumptions, for example that the renderNavigationBar return value will render the title as a component rather than taking it as a text prop.