mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
35 lines
491 B
Markdown
35 lines
491 B
Markdown
---
|
|
order: 1
|
|
title:
|
|
zh-CN: 进度圈
|
|
en-US: Circular progress bar
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
圈形的进度。
|
|
|
|
## en-US
|
|
|
|
A circular progress bar.
|
|
|
|
```jsx
|
|
import { Progress } from 'antd';
|
|
|
|
export default () => (
|
|
<>
|
|
<Progress type="circle" percent={75} />
|
|
<Progress type="circle" percent={70} status="exception" />
|
|
<Progress type="circle" percent={100} />
|
|
</>
|
|
);
|
|
```
|
|
|
|
<style>
|
|
.ant-progress-circle-wrap,
|
|
.ant-progress-line-wrap {
|
|
margin-right: 8px;
|
|
margin-bottom: 5px;
|
|
}
|
|
</style>
|