2015-06-15 14:43:27 +08:00
|
|
|
# 进度圈
|
2015-06-14 20:07:21 +08:00
|
|
|
|
2015-06-15 14:43:27 +08:00
|
|
|
- order: 2
|
2015-06-14 20:07:21 +08:00
|
|
|
|
2015-06-15 14:43:27 +08:00
|
|
|
圈形的进度。
|
2015-06-14 20:07:21 +08:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
````jsx
|
2015-06-15 15:11:02 +08:00
|
|
|
var ProgressCircle = antd.Progress.Circle;
|
2015-06-14 20:07:21 +08:00
|
|
|
|
|
|
|
React.render(
|
|
|
|
<div>
|
2015-06-15 16:20:30 +08:00
|
|
|
<ProgressCircle percent="30" />
|
|
|
|
<ProgressCircle percent="70" status="exception" />
|
|
|
|
<ProgressCircle percent="100" />
|
2015-06-14 20:07:21 +08:00
|
|
|
</div>
|
|
|
|
, document.getElementById('components-progress-demo-circle'));
|
|
|
|
````
|
2015-06-15 11:00:27 +08:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.ant-progress-circle-wrap,
|
|
|
|
.ant-progress-line-wrap {
|
2015-06-15 14:07:20 +08:00
|
|
|
margin-right: 8px;
|
|
|
|
margin-bottom: 5px;
|
2015-06-15 11:00:27 +08:00
|
|
|
}
|
|
|
|
</style>
|