Latest updates from IceHrmPro
This commit is contained in:
27
web/node_modules/rc-animate/lib/util/animate.js
generated
vendored
Normal file
27
web/node_modules/rc-animate/lib/util/animate.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var util = {
|
||||
isAppearSupported: function isAppearSupported(props) {
|
||||
return props.transitionName && props.transitionAppear || props.animation.appear;
|
||||
},
|
||||
isEnterSupported: function isEnterSupported(props) {
|
||||
return props.transitionName && props.transitionEnter || props.animation.enter;
|
||||
},
|
||||
isLeaveSupported: function isLeaveSupported(props) {
|
||||
return props.transitionName && props.transitionLeave || props.animation.leave;
|
||||
},
|
||||
allowAppearCallback: function allowAppearCallback(props) {
|
||||
return props.transitionAppear || props.animation.appear;
|
||||
},
|
||||
allowEnterCallback: function allowEnterCallback(props) {
|
||||
return props.transitionEnter || props.animation.enter;
|
||||
},
|
||||
allowLeaveCallback: function allowLeaveCallback(props) {
|
||||
return props.transitionLeave || props.animation.leave;
|
||||
}
|
||||
};
|
||||
exports["default"] = util;
|
||||
module.exports = exports['default'];
|
||||
Reference in New Issue
Block a user