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
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,8 @@ The **`<Router />`** object used to initialize the navigation can take the follo
100
100
-`firstRoute` (required): A React class corresponding to the first page of your navigation
101
101
-`headerStyle`: Apply a StyleSheet to the navigation bar. You'll probably want to change the backgroundColor for example.
102
102
-`titleStyle`: Apply a StyleSheet to the navigation bar titles. Useful for changing the font or text color.
103
+
-`bgStyle` Apply a StyleSheet to the background of all routes.
104
+
-`statusBarColor`: Specify the string `black` if you want the statusbar to be dark in color, or leave unspecified for a `light-content` style. Refer to StatusBarIOS for details.
103
105
-`borderBottomWidth`: Apply a bottom border to your navbar.
104
106
-`borderColor`: Apply a border color to your bottom border.
105
107
-`backButtonComponent`: By default, the navigation bar will display a simple "Back" text for the back button. To change this, you can specify your own backButton component (like in the Twitter app).
@@ -108,6 +110,7 @@ The **`<Router />`** object used to initialize the navigation can take the follo
108
110
-`hideNavigationBar`: Hide the navigation bar, always
109
111
-`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
112
113
+
111
114
The **`this.props.toRoute()`** callback prop takes one parameter (a JavaScript object) which can have the following keys:
112
115
-`name`: The name of your route, which will be shown as the title of the navigation bar unless it is changed.
113
116
-`component` (required): The React class corresponding to the view you want to render.
0 commit comments