minishouyin/node_modules/rc-motion/es/hooks/useStepQueue.d.ts

9 lines
472 B
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
import type { MotionStatus, StepStatus } from '../interface';
/** Skip current step */
export declare const SkipStep: false;
/** Current step should be update in */
export declare const DoStep: true;
export declare function isActive(step: StepStatus): boolean;
declare const _default: (status: MotionStatus, prepareOnly: boolean, callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
export default _default;