UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

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