2015-06-15 14:43:27 +08:00
|
|
|
# 进度圈
|
2015-06-14 20:07:21 +08:00
|
|
|
|
2015-06-15 16:49:37 +08:00
|
|
|
- order: 1
|
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
|
2016-01-20 20:20:24 +08:00
|
|
|
import { Progress } from 'antd';
|
2015-10-28 20:55:49 +08:00
|
|
|
const ProgressCircle = Progress.Circle;
|
2015-06-14 20:07:21 +08:00
|
|
|
|
2015-10-20 16:47:55 +08:00
|
|
|
ReactDOM.render(
|
2015-06-14 20:07:21 +08:00
|
|
|
<div>
|
2016-01-20 19:50:45 +08:00
|
|
|
<ProgressCircle percent={75} />
|
2016-01-20 20:20:24 +08:00
|
|
|
<ProgressCircle percent={70} status="exception" />
|
2015-10-26 20:14:41 +08:00
|
|
|
<ProgressCircle percent={100} />
|
2015-06-14 20:07:21 +08:00
|
|
|
</div>
|
2015-12-29 12:08:58 +08:00
|
|
|
, mountNode);
|
2015-06-14 20:07:21 +08:00
|
|
|
````
|
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>
|