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.

12 lines (11 loc) 359 B
import { TStep } from "../types/TStep"; import { TWizardOptions } from "../types/TWizardOptions"; import { TWizardType } from "../types/TWizardType"; export { nextStep }; declare const nextStep: (args: { wizardType: TWizardType; history: TStep[]; setHistory: Function; setPoppedHistory: Function; options: TWizardOptions; }) => () => any;