Update StatusBar examples (#64)

the current version of react native does not expose any methods on `StatusBarIOS`
This commit is contained in:
Koen Punt
2017-09-30 17:36:21 +02:00
committed by GitHub
parent 9b7cf6cefb
commit 00cd998598

View File

@@ -142,7 +142,7 @@ __Example__
let showSubscription = SafariView.addEventListener(
"onShow",
() => {
StatusBarIOS.setStyle("light-content");
StatusBar.setBarStyle("light-content");
}
);
```
@@ -153,7 +153,7 @@ __Example__
let dismissSubscription = SafariView.addEventListener(
"onDismiss",
() => {
StatusBarIOS.setStyle("default");
StatusBar.setBarStyle("default");
}
);
```