UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

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 {}; }