ether-admin/node_modules/ant-design-vue/es/vc-trigger/utils/motionUtil.js

18 lines
275 B
JavaScript

export function getMotion(_ref) {
let {
prefixCls,
animation,
transitionName
} = _ref;
if (animation) {
return {
name: `${prefixCls}-${animation}`
};
}
if (transitionName) {
return {
name: transitionName
};
}
return {};
}