1.0.0-16 • Published 6 years ago

@react-spectre/step v1.0.0-16

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

@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.

MIT License