UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

21 lines (20 loc) 524 B
type StepComponent = React.FC<{ next: (data?: any) => void; prev: () => void; data: any; isFirst: boolean; isLast: boolean; }>; export declare function useMultiStepForm(steps: StepComponent[], initialData?: any): { CurrentStep: StepComponent | undefined; currentStep: number; next: (stepData?: any) => void; prev: () => void; goToStep: (index: number) => void; reset: () => void; formData: any; isFirst: boolean; isLast: boolean; totalSteps: number; }; export {};