mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
c2f208e2d2
* feat: Steps with progress * test: update snapshot * fix: lint * Update package.json Co-authored-by: 偏右 <afc163@gmail.com> * refactor: remove progressIcon && rename percentage to percent * test: snapshot * fix: icon position offset * fix: position offset * fix: icon position offset * docs * fix: small line offset Co-authored-by: 偏右 <afc163@gmail.com>
529 B
529 B
order | title | ||||
---|---|---|---|---|---|
13 |
|
zh-CN
带有进度的步骤。
en-US
Steps with progress.
import { Steps } from 'antd';
const { Step } = Steps;
ReactDOM.render(
<Steps current={1} percent={60}>
<Step title="Finished" description="This is a description." />
<Step title="In Progress" subTitle="Left 00:00:08" description="This is a description." />
<Step title="Waiting" description="This is a description." />
</Steps>,
mountNode,
);