react-hooks-multi-step-wizard
v0.0.1
Published
A super-fast, bare-bones package to get you started creating a wizard with React hooks.
Downloads
301
Maintainers
Readme
react-hooks-multi-step-wizard
A super-fast, bare-bones package to get you started creating a wizard with React hooks.
Built with React 16.9, and modern APIs. Functions over classes, maintaining state with Custom Hooks.
Install
npm i react-hooks-multi-step-wizard
Usage
import * as React from 'react'
import { Wizard, Steps, Step, Navigation } from 'react-hooks-multi-step-wizard'
const Wizard = () => (
<Wizard>
<Steps>
<Step>
step 1
</Step>
<Step>
step 2
</Step>
</Steps>
<Navigation />
</Wizard>
)
License
MIT © brianyang