brianyang / react-hooks-multi-step-wizard

A super-fast, bare-bones package to get you started creating a wizard with React hooks.

Home Page:https://codesandbox.io/s/react-hooks-multi-step-wizard-uyiq0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


About

A super-fast, bare-bones package to get you started creating a wizard with React hooks.

https://codesandbox.io/s/react-hooks-multi-step-wizard-uyiq0

License:MIT License


Languages

Language:TypeScript 100.0%