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.

9 lines (8 loc) 287 B
import { TStep } from "../types/TStep"; import { TWizardOptions } from "../types/TWizardOptions"; import { TWizardType } from "../types/TWizardType"; export { getInitialStep }; declare const getInitialStep: (args: { options: TWizardOptions; wizardType: TWizardType; }) => TStep;