ant-design/components/progress/demo/circle.md
2022-05-23 14:37:16 +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>