0.0.1 • Published 5 years ago

react-hooks-multi-step-wizard v0.0.1

Weekly downloads
70
License
MIT
Repository
github
Last release
5 years ago

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.

NPM JavaScript Style Guide

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