motionUtil.d.ts 348 B

123456789101112
  1. import type { AnimationType, TransitionNameType } from '../interface';
  2. interface GetMotionProps {
  3. animation: AnimationType;
  4. transitionName: TransitionNameType;
  5. prefixCls: string;
  6. }
  7. export declare function getMotion({ prefixCls, animation, transitionName }: GetMotionProps): {
  8. name: string;
  9. } | {
  10. name?: undefined;
  11. };
  12. export {};