mirror of
https://github.com/kevinsqi/react-circular-progressbar.git
synced 2026-01-25 16:03:15 +00:00
cleanups
This commit is contained in:
parent
8afa2e5651
commit
08f6ccabd7
@ -48,7 +48,7 @@ See the [demo page JSX](docs/demo.jsx) to see code used on the live demo page.
|
||||
|
||||
## Customizing styles
|
||||
|
||||
Use plain CSS to customize the styling - the [default CSS](src/styles.css) is a good starting point, but you can modify it as needed. There are CSS hooks for the path, trail, and text of the progressbar which you can customize, e.g.:
|
||||
Use plain CSS to customize the styling - the [default CSS](src/styles.css) is a good starting point, but you can modify it as needed. There are CSS hooks for the path, trail, text, and background of the progressbar which you can customize, e.g.:
|
||||
|
||||
```css
|
||||
.CircularProgressbar-path { stroke: red; }
|
||||
|
||||
@ -6483,7 +6483,6 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
||||
|
||||
var MIN_PERCENTAGE = 0;
|
||||
var MAX_PERCENTAGE = 100;
|
||||
var BACKGROUND_OFFSET = 7;
|
||||
|
||||
var CircularProgressbar = function (_React$Component) {
|
||||
_inherits(CircularProgressbar, _React$Component);
|
||||
@ -6626,6 +6625,7 @@ CircularProgressbar.defaultProps = {
|
||||
strokeWidth: 8,
|
||||
className: '',
|
||||
background: false,
|
||||
backgroundPadding: null,
|
||||
initialAnimation: false,
|
||||
textForPercentage: function textForPercentage(percentage) {
|
||||
return percentage + '%';
|
||||
@ -10329,7 +10329,7 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
|
||||
console.log('react-circular-progressbar v' + "0.3.0");
|
||||
console.log('react-circular-progressbar v' + "0.4.0");
|
||||
|
||||
var githubURL = 'https://github.com/iqnivek/react-circular-progressbar';
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
/*
|
||||
* Sample inverted styles. Use these with e.g.:
|
||||
* Sample background styles. Use these with e.g.:
|
||||
*
|
||||
* <CircularProgressbar
|
||||
* className="CircularProgressbar-inverted"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user