ant-design/components/steps/demo/progress.md
07akioni c2f208e2d2
feat: steps percent (#25839)
* 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>
2020-07-27 21:40:36 +08:00

529 B

order title
13
zh-CN en-US
带有进度的步骤 Steps with progress

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,
);