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 8 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
                                disableOpenGesture={params.drawer.disableOpenGesture}
55
                                disableOpenGesture={params.drawer.disableOpenGesture}
56
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
56
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
57
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
57
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
58
+                               style={params.drawer.style}
58
           >
59
           >
59
             {this.renderBody()}
60
             {this.renderBody()}
60
           </DrawerControllerIOS>
61
           </DrawerControllerIOS>
141
                                disableOpenGesture={params.drawer.disableOpenGesture}
142
                                disableOpenGesture={params.drawer.disableOpenGesture}
142
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
143
                                type={params.drawer.type ? params.drawer.type : 'MMDrawer'}
143
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
144
                                animationType={params.drawer.animationType ? params.drawer.animationType : 'slide'}
145
+                               style={params.drawer.style}
144
           >
146
           >
145
             {this.renderBody()}
147
             {this.renderBody()}
146
           </DrawerControllerIOS>
148
           </DrawerControllerIOS>