react-multi-form-custom-fix

1.0.7 • Public • Published

react-multi-form

This is fork fix for React v18 of multi-step form library

Demo

See Live Demo here

Demo Link

Add your Brand Colors

Link

Install

npm i react-multi-form-custom-fix

Usage

import React, { Component } from 'react'

import { MultiStepForm, Step } from 'react-multi-form';

class Example extends Component {
  render() {
    return (
      <MutliStep activeStep={1}>
        <Step label="one">
          <p>One</p>
        </Step>
        <Step label="Two">
          <p>Two</p>
        </Step>
        <Step label="Three">
          <p>Three</p>
        </Step>
      </MultiStep>
    )
  }
}

Documentation

This package exports two components <MultiStepForm /> and <Step />.

<MultiStepForm />

Props

Prop Name type Description default required
activeStep Int determines the active step - YES
accentColor String accent color of the stepper #24a19c NO

<Step />

Props

Prop Name type Description default required
label String label text to be rendered in the top stepper - NO

See the example code here

License

MIT © tachyondev

Package Sidebar

Install

npm i react-multi-form-custom-fix

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

26.1 kB

Total Files

6

Last publish

Collaborators

  • tachyondev