An open API service indexing awesome lists of open source software.

https://github.com/afeiship/react-block-steps

Block steps for react.
https://github.com/afeiship/react-block-steps

block dot react rect step steps

Last synced: 2 days ago
JSON representation

Block steps for react.

Awesome Lists containing this project

README

          

# react-block-steps
> Block steps for react.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install -S @jswork/react-block-steps
```

## usage
1. import css
```scss
@import "~@jswork/react-block-steps/dist/style.css";

// or use sass
@import "~@jswork/react-block-steps/dist/style.scss";
```
2. import js
```js
import ReactBlockSteps from '@jswork/react-block-steps';
import '@jswork/react-block-steps/dist/style.scss';
import { useState } from 'react';

function App() {
const [num, setNum] = useState(1);
return (



Build Time: {BUILD_TIME}

react-block-steps



setNum(parseInt(e.target.value))} />
}
deactivatedSection={}
size={5}
/>


}
deactivatedSection={}
size={5}
/>


);
}

export default App;
```

## preview
- https://afeiship.github.io/react-block-steps/

## license
Code released under [the MIT license](https://github.com/afeiship/react-block-steps/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/react-block-steps
[version-url]: https://npmjs.org/package/@jswork/react-block-steps

[license-image]: https://img.shields.io/npm/l/@jswork/react-block-steps
[license-url]: https://github.com/afeiship/react-block-steps/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-block-steps
[size-url]: https://github.com/afeiship/react-block-steps/blob/master/dist/react-block-steps.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/react-block-steps
[download-url]: https://www.npmjs.com/package/@jswork/react-block-steps