react-stepper-tis
v1.0.2
Published
>
Downloads
5
Readme
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