| 12345678910111213141516171819202122 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.getMotion = getMotion;
- function getMotion(_ref) {
- var prefixCls = _ref.prefixCls,
- animation = _ref.animation,
- transitionName = _ref.transitionName;
- if (animation) {
- return {
- name: "".concat(prefixCls, "-").concat(animation)
- };
- }
- if (transitionName) {
- return {
- name: transitionName
- };
- }
- return {};
- }
|