diff --git a/docs/next/statusbar.html b/docs/next/statusbar.html index 7083eb9eaef..e8e28631aa5 100644 --- a/docs/next/statusbar.html +++ b/docs/next/statusbar.html @@ -31,21 +31,16 @@ });
Edit

StatusBar

Component to control the app status bar.

Usage with Navigator

-

It is possible to have multiple StatusBar components mounted at the same time. The props will be merged in the order the StatusBar components were mounted. One use case is to specify status bar styles per route using Navigator.

+

It is possible to have multiple StatusBar components mounted at the same time. The props will be merged in the order the StatusBar components were mounted.

 <View>
    <StatusBar
      backgroundColor="blue"
      barStyle="light-content"
    />
-   <Navigator
-     initialRoute={{statusBarHidden: true}}
-     renderScene={(route, navigator) =>
-       <View>
-         <StatusBar hidden={route.statusBarHidden} />
-         ...
-       </View>
-     }
-   />
+   <View>
+     <StatusBar hidden={route.statusBarHidden} />
+     ...
+   </View>
  </View>
 

Imperative API

diff --git a/docs/next/statusbar/index.html b/docs/next/statusbar/index.html index 7083eb9eaef..e8e28631aa5 100644 --- a/docs/next/statusbar/index.html +++ b/docs/next/statusbar/index.html @@ -31,21 +31,16 @@ });
Edit

StatusBar

Component to control the app status bar.

Usage with Navigator

-

It is possible to have multiple StatusBar components mounted at the same time. The props will be merged in the order the StatusBar components were mounted. One use case is to specify status bar styles per route using Navigator.

+

It is possible to have multiple StatusBar components mounted at the same time. The props will be merged in the order the StatusBar components were mounted.

 <View>
    <StatusBar
      backgroundColor="blue"
      barStyle="light-content"
    />
-   <Navigator
-     initialRoute={{statusBarHidden: true}}
-     renderScene={(route, navigator) =>
-       <View>
-         <StatusBar hidden={route.statusBarHidden} />
-         ...
-       </View>
-     }
-   />
+   <View>
+     <StatusBar hidden={route.statusBarHidden} />
+     ...
+   </View>
  </View>
 

Imperative API