0.2.3 • Published 6 years ago

basic-react-steps v0.2.3

Weekly downloads
27
License
MIT
Repository
github
Last release
6 years ago

basic-react-steps

React steps component.

npm GitHub license npm bundle size GitHub code size in bytes

Example: https://hamzaolak.github.io/basic-react-steps/

Steps for usage

  1. install package

npm install basic-react-steps

  1. Usage
import { Step, StepList } from 'basic-react-steps'
import ExampleIcon from './ExampleIcon'
...
<StepList stepNumber={0}>
	<Step title="title" description="description"/>
	<Step icon={<img alt="ExampleIcon" src={ExampleIcon} />}/>
	<Step />
	<Step />
</StepList>
...

if you use react-svg-loader you can use icon this way: icon={<ExampleIcon />}

StepList Component

PropsNecessityTypeDescription
stepNumbercompulsorynumberSelect the which child is active...start with 0.

Step Component

PropsNecessityTypeDescription
titleoptionalStringStep Title
descriptionoptionalStringStep Description
iconoptionalReact ComponentSet icon with use react component or Dom element

Example

npm.io

contact: hamzaolak2@gmail.com

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago