Browse Source

Document topMargin

Guy Carmeli 6 years ago
parent
commit
bca28166c0
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      docs/docs/styling.md

+ 3
- 0
docs/docs/styling.md View File

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