diff --git a/components/progress/demo/circle-mini.md b/components/progress/demo/circle-mini.md index 2c5e95ad78..58c321c9fe 100644 --- a/components/progress/demo/circle-mini.md +++ b/components/progress/demo/circle-mini.md @@ -11,9 +11,9 @@ var ProgressCircle = antd.Progress.Circle; ReactDOM.render(
- - - + + +
, document.getElementById('components-progress-demo-circle-mini')); ```` diff --git a/components/progress/demo/circle.md b/components/progress/demo/circle.md index 6d9e81ac6d..1ca27fea09 100644 --- a/components/progress/demo/circle.md +++ b/components/progress/demo/circle.md @@ -11,9 +11,9 @@ var ProgressCircle = antd.Progress.Circle; ReactDOM.render(
- - - + + +
, document.getElementById('components-progress-demo-circle')); ```` diff --git a/components/progress/demo/line-mini.md b/components/progress/demo/line-mini.md index d4dde01dc9..4bbb37b0b7 100644 --- a/components/progress/demo/line-mini.md +++ b/components/progress/demo/line-mini.md @@ -11,10 +11,10 @@ var Progress = antd.Progress.Line; ReactDOM.render(
- - - - + + + +
, document.getElementById('components-progress-demo-line-mini')); ```` diff --git a/components/progress/demo/line.md b/components/progress/demo/line.md index 673893f92f..4c92b7514c 100644 --- a/components/progress/demo/line.md +++ b/components/progress/demo/line.md @@ -11,11 +11,11 @@ var Progress = antd.Progress.Line; ReactDOM.render(
- - - - - + + + + +
, document.getElementById('components-progress-demo-line')); ```` diff --git a/components/progress/index.jsx b/components/progress/index.jsx index e9b9c3472c..a8e88064fe 100644 --- a/components/progress/index.jsx +++ b/components/progress/index.jsx @@ -75,6 +75,12 @@ let Line = React.createClass({ }); let Circle = React.createClass({ + propTypes: { + status: React.PropTypes.oneOf(['normal', 'exception', 'success']), + percent: React.PropTypes.number, + strokeWidth: React.PropTypes.number, + width: React.PropTypes.number + }, getDefaultProps: function () { return { width: 132,