mirror of
https://github.com/kevinsqi/react-circular-progressbar.git
synced 2026-01-18 15:55:06 +00:00
33 lines
562 B
Markdown
33 lines
562 B
Markdown
# React Circular Progressbar
|
|
|
|
## Installation
|
|
|
|
Install the npm module:
|
|
|
|
```bash
|
|
npm install react-circular-progressbar
|
|
```
|
|
|
|
Include the default styles into your CSS by copying [src/styles.css](src/styles.css) into your repo.
|
|
|
|
## Usage
|
|
|
|
Import the component:
|
|
|
|
```javascript
|
|
import CircularProgressbar from 'react-circular-progressbar';
|
|
```
|
|
|
|
## Development
|
|
|
|
To run demo locally on localhost:8080:
|
|
|
|
```bash
|
|
npm install
|
|
npm start
|
|
```
|
|
|
|
Keep CI tests passing by running `npm test` and `npm run lint` often.
|
|
|
|
Deploy updates to the demo page with `npm run deploy:demo`.
|