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) 280 B
import { TWizardType } from "../types/TWizardType"; import { TWizardOptions } from "../types/TWizardOptions"; export { jumpSteps }; declare const jumpSteps: (args: { wizardType: TWizardType; options: TWizardOptions; setHistory: Function; }) => (jump: number) => void;