mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Expose StatusBar height and fix StatusBar example - T13591448
Reviewed By: achen1 Differential Revision: D5624514 fbshipit-source-id: edc1ebe9758bd6a67e79a60128553414fb1424d3
This commit is contained in:
committed by
Facebook Github Bot
parent
66da0d27da
commit
6f60f2bf67
@@ -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 />;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user