Skip to content

Commit f45fab6

Browse files
author
Luke Brandon Farrell
committed
Prettier for 3+
1 parent 7033f46 commit f45fab6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/RNNDrawer.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ var RNNDrawer = /** @class */ (function () {
117117
this.animatedDrawer = react_native_1.Animated.timing(this.state.sideMenuOpenValue, {
118118
toValue: this.drawerOpenedValues[direction],
119119
duration: this.props.animationOpenTime,
120-
useNativeDriver: false
120+
useNativeDriver: false,
121121
});
122122
// Animate outside side menu opacity
123123
this.animatedOpacity = react_native_1.Animated.timing(this.state.sideMenuOverlayOpacity, {
124124
toValue: fadeOpacity,
125125
duration: this.props.animationOpenTime,
126-
useNativeDriver: false
126+
useNativeDriver: false,
127127
});
128128
};
129129
/**
@@ -290,7 +290,7 @@ var RNNDrawer = /** @class */ (function () {
290290
react_native_1.Animated.timing(this.state.sideMenuOpenValue, {
291291
toValue: closeValues[direction],
292292
duration: this.props.animationCloseTime,
293-
useNativeDriver: false
293+
useNativeDriver: false,
294294
}).start(function () {
295295
react_native_navigation_1.Navigation.dismissOverlay(_this.props.componentId);
296296
_this.setState({ sideMenuIsDismissing: false });
@@ -299,7 +299,7 @@ var RNNDrawer = /** @class */ (function () {
299299
react_native_1.Animated.timing(this.state.sideMenuOverlayOpacity, {
300300
toValue: 0,
301301
duration: this.props.animationCloseTime,
302-
useNativeDriver: false
302+
useNativeDriver: false,
303303
}).start();
304304
};
305305
WrappedDrawer.defaultProps = {
@@ -323,9 +323,9 @@ var RNNDrawer = /** @class */ (function () {
323323
RNNDrawer.showDrawer = function (layout) {
324324
var _a, _b, _c, _d, _e;
325325
// 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';
327327
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,
329329
} });
330330
// Mutate options to add 'transparent' by default
331331
// @ts-ignore

0 commit comments

Comments
 (0)