ant-design/components/steps/demo/simple.md
Yu 2d2d9f60c4 feat: steps component support type navigation (#17994)
* feat: support type nav style

* fix: some style for review issue

* fix: active hover style

* chore: use navigation and upgrade rc-steps

* feat: support disabled prop for Steps.Step

* feat: support subTitle and improve code style

* fix: navigation steps item style

* test: update snap test case

* fix: test steps snapshots and review style issue

* fix: lint issue

* fix: lint style issue of steps

* fix: update steps demo for review issue

* fix: steps nav style detail

* fix: steps nav fix style detail

* fix: Steps subtitle overflow style in firefox

* docs: fix Steps new api doc
2019-08-14 11:18:36 +08:00

493 B

order title
0
zh-CN en-US
基本用法 Basic

zh-CN

简单的步骤条。

en-US

The most basic step bar.

import { Steps } from 'antd';

const { Step } = Steps;

ReactDOM.render(
  <Steps current={1}>
    <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,
);