浏览代码

bugfix: add support for drawer animation types

Ran Greenberg 9 年前
父节点
当前提交
c84a0cbfe8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/platformSpecific.ios.js

+ 2
- 0
src/platformSpecific.ios.js 查看文件

28
             componentRight={params.drawer.right ? params.drawer.right.screen : undefined}
28
             componentRight={params.drawer.right ? params.drawer.right.screen : undefined}
29
             passPropsRight={{navigatorID: navigatorID}}
29
             passPropsRight={{navigatorID: navigatorID}}
30
             disableOpenGesture={params.drawer.disableOpenGesture}
30
             disableOpenGesture={params.drawer.disableOpenGesture}
31
+            type={params.drawer.type ? params.drawer.type : undefined}
32
+            animationType={params.drawer.animationType ? params.drawer.animationType : undefined}
31
           >
33
           >
32
             {this.renderBody()}
34
             {this.renderBody()}
33
           </DrawerControllerIOS>
35
           </DrawerControllerIOS>