Browse Source

bugfix: add support for drawer animation types

Ran Greenberg 8 years ago
parent
commit
c84a0cbfe8
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/platformSpecific.ios.js

+ 2
- 0
src/platformSpecific.ios.js View File

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>