소스 검색

Added shouldStretchDrawer property to SideMenuSide interface (#5543)

Looking at the docs (1581780d2c/docs/docs/styling.md) and code (1581780d2c/lib/ios/RNNSideMenuSideOptions.m (L11)) it's possible to use the shouldStretchDrawer property on sideMenu. This property was however missing in the TS interface.
Niels de Bruin 5 년 전
부모
커밋
305caeb8c5
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      lib/src/interfaces/Options.ts

+ 6
- 0
lib/src/interfaces/Options.ts 파일 보기

@@ -639,6 +639,12 @@ export interface SideMenuSide {
639 639
    * Set the height of the side menu
640 640
    */
641 641
   height?: number;
642
+  /**
643
+   * Stretch sideMenu contents when opened past the width
644
+   * #### (iOS specific)
645
+   * @default true
646
+   */
647
+  shouldStretchDrawer?: boolean;
642 648
 }
643 649
 
644 650
 export interface OptionsSideMenu {