mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
a5efa7a81a
* test: increase test case of Progress and Comment * test: add test case for Avatar * test: add test case for Dropdown * fix snapshot * fix snapshot * remove console.log * fix lint * add avatar
470 B
470 B
order | title | ||||
---|---|---|---|---|---|
11 |
|
zh-CN
带步骤的进度条。
en-US
A progress bar with steps.
import { Progress } from 'antd';
ReactDOM.render(
<>
<Progress percent={50} steps={3} strokeColor="#1890ff" />
<br />
<Progress percent={30} steps={5} strokeColor="#1890ff" />
<br />
<Progress percent={100} steps={5} size="small" strokeColor="#1890ff" />
</>,
mountNode,
);