ant-design/components/progress/demo/circle.md

35 lines
510 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 1
2016-07-26 15:42:04 +08:00
title:
zh-CN: 进度圈
en-US: Circular progress bar
2016-03-31 09:40:55 +08:00
---
2015-06-14 20:07:21 +08:00
2016-07-26 15:42:04 +08:00
## zh-CN
2015-06-15 14:43:27 +08:00
圈形的进度。
2015-06-14 20:07:21 +08:00
2016-07-26 15:42:04 +08:00
## en-US
A circular progress bar.
2017-01-19 15:19:03 +08:00
````__react
2016-01-20 20:20:24 +08:00
import { Progress } from 'antd';
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-04-05 16:51:26 +08:00
<Progress type="circle" percent={75} />
<Progress type="circle" percent={70} status="exception" />
<Progress type="circle" percent={100} />
2015-06-14 20:07:21 +08:00
</div>
, 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>