@react-spectre/step
v1.0.0-16
Published
React components for Spectre.css's steps.
Downloads
4
Readme
@react-spectre/step
React components for Spectre.css's steps
Installation
yarn add @react-spectre/step
npm install @react-spectre/step --save
Usage
import { Step } from '@react-spectre/step'
<Step>
<Step.Item>
<a href="#" className="tooltip" data-tooltip="Step 1">
Step 1
</a>
<Step.Item>
// Pass the 'active' property in order to set this step as the current one selected.
<Step.Item active>
<a href="#" className="tooltip" data-tooltip="Step 2">
Step 2
</a>
<Step.Item>
</Step>
Made with :heart: by Cesar Contreras.