UNPKG

@matthew.ngo/reform

Version:

A flexible and powerful React form management library with advanced validation, state observation, and multi-group support

12 lines (11 loc) 514 B
import { ReformReturn } from '../../types'; import { FormWizardConfig, FormWizardReturn } from './types'; /** * Hook for creating and managing multi-step form wizards * * @template T - The type of form data * @param reform - The Reform hook return value * @param config - Configuration for the form wizard * @returns Form wizard state and methods */ export declare const useFormWizard: <T extends Record<string, any>>(reform: ReformReturn<T>, config: FormWizardConfig<T>) => FormWizardReturn<T>;