ant-design/components/progress/demo/steps.md
2022-05-23 14:37:16 +08:00

32 lines
473 B
Markdown

---
order: 11
title:
zh-CN: 步骤进度条
en-US: Progress bar with steps
---
## zh-CN
带步骤的进度条。
## en-US
A progress bar with steps.
```tsx
import { Progress } from 'antd';
import React from 'react';
const App: React.FC = () => (
<>
<Progress percent={50} steps={3} />
<br />
<Progress percent={30} steps={5} />
<br />
<Progress percent={100} steps={5} size="small" strokeColor="#52c41a" />
</>
);
export default App;
```