diff --git a/src/CircularProgress.js b/src/CircularProgress.js index 982365f..4a5f2b9 100644 --- a/src/CircularProgress.js +++ b/src/CircularProgress.js @@ -25,7 +25,7 @@ export default class CircularProgress extends React.Component { } render() { - const { size, width, tintColor, backgroundColor, style, rotation, linecap, children } = this.props; + const { size, width, backgroundWidth, tintColor, backgroundColor, style, rotation, linecap, children } = this.props; const backgroundPath = this.circlePath(size / 2, size / 2, size / 2 - width / 2, 0, 360 * .9999); const fill = this.extractFill(this.props.fill); @@ -39,7 +39,7 @@ export default class CircularProgress extends React.Component { + strokeWidth={backgroundWidth != null ? backgroundWidth : width}/>