ant-design/components/progress/demo/steps.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* 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
2022-04-03 23:27:45 +08:00

418 B

order title
11
zh-CN en-US
步骤进度条 Progress bar with steps

zh-CN

带步骤的进度条。

en-US

A progress bar with steps.

import { Progress } from 'antd';

export default () => (
  <>
    <Progress percent={50} steps={3} />
    <br />
    <Progress percent={30} steps={5} />
    <br />
    <Progress percent={100} steps={5} size="small" strokeColor="#52c41a" />
  </>
);