Expose StatusBar height and fix StatusBar example - T13591448

Reviewed By: achen1

Differential Revision: D5624514

fbshipit-source-id: edc1ebe9758bd6a67e79a60128553414fb1424d3
This commit is contained in:
David Vacca
2017-08-15 10:47:52 -07:00
committed by Facebook Github Bot
parent 66da0d27da
commit 6f60f2bf67
4 changed files with 32 additions and 53 deletions

View File

@@ -29,6 +29,7 @@ const colors = [
'#ff0000',
'#00ff00',
'#0000ff',
'rgba(0, 0, 0, 0.4)',
];
const barStyles = [
@@ -405,7 +406,7 @@ const examples = [{
},
platform: 'android',
}, {
title: 'StatusBar background color',
title: 'StatusBar translucent',
render() {
return <StatusBarTranslucentExample />;
},