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.

8 lines (7 loc) 200 B
import { TStep } from "../types/TStep"; export { previousStep }; declare const previousStep: (args: { history: TStep[]; setHistory: Function; setPoppedHistory: Function; }) => () => void;