mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-09 12:56:01 +10:00
584 B
584 B
order, title
| order | title | ||||
|---|---|---|---|---|---|
| 6 |
|
zh-CN
使用 Steps 的 status 属性来指定当前步骤的状态。
en-US
By using status of Steps, you can specify the state for current step.
import { Steps } from 'antd';
const Step = Steps.Step;
ReactDOM.render(
<Steps current={1} status="error">
<Step title="Finished" description="This is a description" />
<Step title="In Process" description="This is a description" />
<Step title="Waiting" description="This is a description" />
</Steps>
, mountNode);