Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Releases: t4t5/react-native-router

Version 0.2.0

10 Jun 13:03

Choose a tag to compare

Changelog:

  • Ability to hide the navigation bar by setting the attribute hideNavigationBar: true on the Router component
  • Reset the route stack to the very first route by calling this.props.reset()
  • Ability to change the status bar color by setting the attribute statusBarColor: black on the Router component

Version 0.1.3

21 Apr 06:16

Choose a tag to compare

Changelog:

  • Fix bug with React 0.4.0 which caused the app not to render.
  • Add this.props.customAction to the route views as well so that you can call actions up to the Router by pressing something on your page.

Version 0.1.2

13 Apr 21:42

Choose a tag to compare

Changelog:

  • Allow data to be passed to your routes by passing an object with the data key in the toRoute()-function.
  • Update Twitter example to show how passing data to your routes is useful.
  • Custom actions for your rightCorner and leftCorner components (to do stuff besides navigating to routes, like opening a side menu). This is triggered by calling the callback function this.props.customAction() from your component. It is then picked up with <Router customAction={this.doSomething} />.
  • Allow the navigation bar title to be styled with the titleStyle-prop in the <Router /> component.