mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
2d2d9f60c4
* 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
30 lines
493 B
Markdown
30 lines
493 B
Markdown
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 基本用法
|
|
en-US: Basic
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
简单的步骤条。
|
|
|
|
## en-US
|
|
|
|
The most basic step bar.
|
|
|
|
```jsx
|
|
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,
|
|
);
|
|
```
|