소스 검색

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 년 전
부모
커밋
8d22b53df6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/deprecated/platformSpecificDeprecated.ios.js

+ 2
- 0
src/deprecated/platformSpecificDeprecated.ios.js 파일 보기

@@ -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>