mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
32 lines
475 B
Markdown
32 lines
475 B
Markdown
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 进度条
|
|
en-US: Progress bar
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
标准的进度条。
|
|
|
|
## en-US
|
|
|
|
A standard progress bar.
|
|
|
|
```tsx
|
|
import { Progress } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Progress percent={30} />
|
|
<Progress percent={50} status="active" />
|
|
<Progress percent={70} status="exception" />
|
|
<Progress percent={100} />
|
|
<Progress percent={50} showInfo={false} />
|
|
</>
|
|
);
|
|
|
|
export default App;
|
|
```
|