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
|
|
|
|
var Circle = antd.Progress.Circle;
|
|
|
|
|
|
|
|
React.render(
|
|
|
|
<div>
|
2015-06-15 14:07:20 +08:00
|
|
|
<Circle percent="30" width="126" />
|
|
|
|
<Circle percent="70" width="126" status="exception" />
|
|
|
|
<Circle percent="100" width="126" />
|
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>
|