ant-design/components/steps/demo/error.md

578 B

order title
6
zh-CN en-US
步骤运行错误 Error status

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 description" />
    <Step title="In Process" description="This is description" />
    <Step title="Waiting" description="This is description" />
  </Steps>
, mountNode);