|
|
@ -7,13 +7,13 @@ |
|
|
|
--- |
|
|
|
|
|
|
|
````jsx |
|
|
|
var Line = antd.Progress.Line; |
|
|
|
var Progress = antd.Progress.Line; |
|
|
|
|
|
|
|
React.render( |
|
|
|
<div> |
|
|
|
<Line percent="30" width="170" strokeWidth="3" /> |
|
|
|
<Line percent="70" width="170" strokeWidth="3" status="exception" /> |
|
|
|
<Line percent="100" width="170" strokeWidth="3" /> |
|
|
|
<Progress percent="30" width="170" strokeWidth="3" /> |
|
|
|
<Progress percent="70" width="170" strokeWidth="3" status="exception" /> |
|
|
|
<Progress percent="100" width="170" strokeWidth="3" /> |
|
|
|
</div> |
|
|
|
, document.getElementById('components-progress-demo-line-mini')); |
|
|
|
```` |
|
|
|