diff --git a/README.md b/README.md index 0c57c93..f37f403 100644 --- a/README.md +++ b/README.md @@ -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; } diff --git a/docs/index.js b/docs/index.js index 4b62b02..bedae4f 100644 --- a/docs/index.js +++ b/docs/index.js @@ -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'; diff --git a/docs/styles.css b/docs/styles.css index 9165fd8..947089b 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -36,7 +36,7 @@ } /* - * Sample inverted styles. Use these with e.g.: + * Sample background styles. Use these with e.g.: * *