Implementation of progressbar.js in React with ES6
npm install react-es6-progressbar.js
$ npm install --save react-es6-progressbar.js
`
Usage
`
import React, { Component } from 'react';
import { Circle, SemiCircle, Line } from 'react-es6-progressbar.js'
class App extends Component{
const circle_options = {
text: 'test',
style: {
color: 'green'
}
};
const semicircle_options = {
text: {
value: 'semicircle test',
color: 'rgba(255, 255, 255, 0.6)
},
color: '#333',
duration: 1000
};
const line_options = {
color: 'red',
easing: 'easeOut',
strokeWidth: '5'
};
render(){
return(
);
}
}
``