Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

tiss-co/react-stepper-tis

Repository files navigation

react-stepper-tis

NPM JavaScript Style Guide

react-stepper-tis

Install

npm i react-stepper-tis

or

yarn add react-stepper-tis

Usage

import React, { useState } from 'react'

import { Stepper } from 'react-stepper-tis'
import 'react-stepper-tis/dist/index.css'

const App = () => {
  const [activeStep, setActiveStep] = useState(0)

  return (
    <Stepper
      className='Stepper'
      steps={['Select Product', 'Fill Information', 'Purchase']}
      activeStepIndex={activeStep}
      onStepClick={(index) => setActiveStep(index)}
      darkMode={false}
    />
  )
}

export default App

License

MIT © boof-tech

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published