소스 검색

Document topMargin

Guy Carmeli 6 년 전
부모
커밋
bca28166c0
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      docs/docs/styling.md

+ 3
- 0
docs/docs/styling.md 파일 보기

@@ -205,6 +205,9 @@ Navigation.mergeOptions(this.props.componentId, {
205 205
   statusBar: {
206 206
     backgroundColor: 'red'
207 207
   },
208
+  layout: {
209
+    topMargin: Navigation.constants().statusBarHeight // Set the layout's top margin
210
+  },
208 211
   topBar: {
209 212
     height: 70, // TopBar height in dp
210 213
     borderColor: 'red',