UNPKG

react-use-wizard

Version:

React wizard (stepper) builder without the hassle, powered by hooks.

12 lines (7 loc) 240 B
import * as React from 'react'; import { WizardValues } from './types'; const WizardContext = React.createContext<WizardValues | null>(null); if (__DEV__) { WizardContext.displayName = 'WizardContext'; } export default WizardContext;