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

9 lines
472 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04: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;