Przeglądaj źródła

Document topMargin

Guy Carmeli 6 lat temu
rodzic
commit
bca28166c0
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      docs/docs/styling.md

+ 3
- 0
docs/docs/styling.md Wyświetl plik

@@ -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',