ant-design/components/progress/demo/circle.md
2022-05-21 22:14:15 +08:00

38 lines
546 B
Markdown

---
order: 1
title:
zh-CN: 进度圈
en-US: Circular progress bar
---
## zh-CN
圈形的进度。
## en-US
A circular progress bar.
```tsx
import { Progress } from 'antd';
import React from 'react';
const App: React.FC = () => (
<>
<Progress type="circle" percent={75} />
<Progress type="circle" percent={70} status="exception" />
<Progress type="circle" percent={100} />
</>
);
export default App;
```
<style>
.ant-progress-circle-wrap,
.ant-progress-line-wrap {
margin-right: 8px;
margin-bottom: 5px;
}
</style>