@@ -117,13 +117,13 @@ var RNNDrawer = /** @class */ (function () {
117
117
this . animatedDrawer = react_native_1 . Animated . timing ( this . state . sideMenuOpenValue , {
118
118
toValue : this . drawerOpenedValues [ direction ] ,
119
119
duration : this . props . animationOpenTime ,
120
- useNativeDriver : false
120
+ useNativeDriver : false ,
121
121
} ) ;
122
122
// Animate outside side menu opacity
123
123
this . animatedOpacity = react_native_1 . Animated . timing ( this . state . sideMenuOverlayOpacity , {
124
124
toValue : fadeOpacity ,
125
125
duration : this . props . animationOpenTime ,
126
- useNativeDriver : false
126
+ useNativeDriver : false ,
127
127
} ) ;
128
128
} ;
129
129
/**
@@ -290,7 +290,7 @@ var RNNDrawer = /** @class */ (function () {
290
290
react_native_1 . Animated . timing ( this . state . sideMenuOpenValue , {
291
291
toValue : closeValues [ direction ] ,
292
292
duration : this . props . animationCloseTime ,
293
- useNativeDriver : false
293
+ useNativeDriver : false ,
294
294
} ) . start ( function ( ) {
295
295
react_native_navigation_1 . Navigation . dismissOverlay ( _this . props . componentId ) ;
296
296
_this . setState ( { sideMenuIsDismissing : false } ) ;
@@ -299,7 +299,7 @@ var RNNDrawer = /** @class */ (function () {
299
299
react_native_1 . Animated . timing ( this . state . sideMenuOverlayOpacity , {
300
300
toValue : 0 ,
301
301
duration : this . props . animationCloseTime ,
302
- useNativeDriver : false
302
+ useNativeDriver : false ,
303
303
} ) . start ( ) ;
304
304
} ;
305
305
WrappedDrawer . defaultProps = {
@@ -323,9 +323,9 @@ var RNNDrawer = /** @class */ (function () {
323
323
RNNDrawer . showDrawer = function ( layout ) {
324
324
var _a , _b , _c , _d , _e ;
325
325
// By default for this library, we make the 'componentBackgroundColor' transparent
326
- var componentBackgroundColor = ( _d = ( _c = ( _b = ( _a = layout === null || layout === void 0 ? void 0 : layout . component ) === null || _a === void 0 ? void 0 : _a . options ) === null || _b === void 0 ? void 0 : _b . layout ) === null || _c === void 0 ? void 0 : _c . componentBackgroundColor ) !== null && _d !== void 0 ? _d : " transparent" ;
326
+ var componentBackgroundColor = ( _d = ( _c = ( _b = ( _a = layout === null || layout === void 0 ? void 0 : layout . component ) === null || _a === void 0 ? void 0 : _a . options ) === null || _b === void 0 ? void 0 : _b . layout ) === null || _c === void 0 ? void 0 : _c . componentBackgroundColor ) !== null && _d !== void 0 ? _d : ' transparent' ;
327
327
var options = __assign ( __assign ( { } , ( _e = layout === null || layout === void 0 ? void 0 : layout . component ) === null || _e === void 0 ? void 0 : _e . options ) , { layout : {
328
- componentBackgroundColor : componentBackgroundColor
328
+ componentBackgroundColor : componentBackgroundColor ,
329
329
} } ) ;
330
330
// Mutate options to add 'transparent' by default
331
331
// @ts -ignore
0 commit comments