Kevin Qi 7026b2c8fb Merge pull request #2 from lokiuz/master
Fixes #1 - If the component is mounted and then unmounted immediately, its possible for the timeout to fire after unmounting leading React throwing a warning.
2016-11-08 11:26:06 -05:00
2016-06-07 23:47:21 -04:00
2016-06-07 23:47:21 -04:00

React Circular Progressbar

A circular progress indicator component, built with SVG. Easily customizable with CSS. See a live demo.

npm version Build Status

react-circular-progressbar animated gif

Installation

Install the npm module:

npm install react-circular-progressbar

Include the default styles into your CSS by copying src/styles.css into your repo.

Usage

Import the component:

import CircularProgressbar from 'react-circular-progressbar';

..and use the component in your JSX:

<CircularProgressbar percentage={60} />

See the live demo page for examples and configuration options.

Development

To run demo locally on localhost:8080:

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.

Description
A circular progressbar component, built with SVG and extensively customizable
Readme MIT 4.1 MiB
Languages
TypeScript 91.6%
CSS 6.3%
JavaScript 2.1%