@react-spectre/step

1.0.0-16 • Public • Published

@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 ❤️ by Cesar Contreras.

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @react-spectre/step

Weekly Downloads

2

Version

1.0.0-16

License

MIT

Last publish

Collaborators

  • rmariuzzo