UNPKG

use-wizard

Version:

A dead-easy-to-use light-weight react hook to handle multi-paths wizards (and simple wizards too) and navigate into them.

14 lines (13 loc) 445 B
import { IWizard } from "../types/IWizard"; import { TStep } from "../types/TStep"; import { TWizardType } from "../types/TWizardType"; import { TWizardOptions } from "../types/TWizardOptions"; export { getWizardMethods }; declare const getWizardMethods: (args: { history: TStep[]; poppedHistory: TStep[]; setHistory: Function; setPoppedHistory: Function; wizardType: TWizardType; options: TWizardOptions; }) => IWizard;