'use strict';

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

exports.getMotion = getMotion;
//# sourceMappingURL=motionUtil.cjs.map
