You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ const firstRoute = {
52
52
classMyAppextendsReact.Component {
53
53
54
54
render() {
55
-
56
55
return (
57
56
<Router
58
57
firstRoute={firstRoute}
@@ -107,6 +106,7 @@ The **`<Router \>`** object used to initialize the navigation can take the follo
107
106
-`rightCorner`: If you have the same occuring action buttons on the right side of your navigation bar (like the Twitter "Compose"-button), you can specify a component for that view.
108
107
-`customAction`: A special callback prop for your action buttons (this can be handy for triggering a side menu for example). The action gets triggered from your custom `leftCorner` or `rightCorner` components by calling `this.props.customAction("someActionName")` from them. It is then picked up like this: `<Router customAction={this.doSomething} />`.
109
108
-`hideNavigationBar`: Hide the navigation bar, always
109
+
-`handleBackAndroid` (Boolean value): Apply a listener to the native back button on Android. On click, it will go to the previous route until it reach the first scene, then it will exit the app.
110
110
111
111
The **`this.props.toRoute()`** callback prop takes one parameter (a JavaScript object) which can have the following keys:
112
112
-`name`: The name of your route, which will be shown as the title of the navigation bar unless it is changed.
0 commit comments