Pārlūkot izejas kodu

bugfix: add support for drawer animation types

Ran Greenberg 9 gadus atpakaļ
vecāks
revīzija
c84a0cbfe8
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/platformSpecific.ios.js

+ 2
- 0
src/platformSpecific.ios.js Parādīt failu

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>