Browse Source

Pass the style parameter to DrawerControllerIOS (#578)

Now the style parameter is used inside RCCDrawerController but it's not passed through startTabBasedApp/startSingleScreenApp. Passing the style parameter allows to disable sidebar shadow trough style.drawerShadow.
Alexey Prokhorov 7 years ago
parent
commit
8d22b53df6
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/deprecated/platformSpecificDeprecated.ios.js

+ 2
- 0
src/deprecated/platformSpecificDeprecated.ios.js View File

@@ -55,6 +55,7 @@ function startTabBasedApp(params) {
55 55
                                disableOpenGesture={params.drawer.disableOpenGesture}
56 56
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
57 57
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
58
+                               style={params.drawer.style}
58 59
           >
59 60
             {this.renderBody()}
60 61
           </DrawerControllerIOS>
@@ -141,6 +142,7 @@ function startSingleScreenApp(params) {
141 142
                                disableOpenGesture={params.drawer.disableOpenGesture}
142 143
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
143 144
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
145
+                               style={params.drawer.style}
144 146
           >
145 147
             {this.renderBody()}
146 148
           </DrawerControllerIOS>