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.
- Host: GitHub
- URL: https://github.com/afeiship/react-block-steps
- Owner: afeiship
- Created: 2020-03-25T04:45:54.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T05:43:22.000Z (over 1 year ago)
- Last Synced: 2025-10-21T04:10:59.260Z (6 months ago)
- Topics: block, dot, react, rect, step, steps
- Language: TypeScript
- Homepage:
- Size: 445 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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