소스 검색

Document sensorLandscape

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

+ 2
- 1
docs/docs/styling.md 파일 보기

@@ -223,7 +223,8 @@ Navigation.mergeOptions(this.props.componentId, {
223 223
     visible: false
224 224
   },
225 225
   layout: {
226
-    topMargin: Navigation.constants().statusBarHeight // Set the layout's top margin
226
+    topMargin: Navigation.constants().statusBarHeight, // Set the layout's top margin
227
+    orientation: ['portrait', 'landscape'] | ['sensorLandscape'] // An array of supported orientations
227 228
   },
228 229
   topBar: {
229 230
     height: 70, // TopBar height in dp