cjd-parkball
Version:
> 中后台业务组件库,中后台就像公园,进入需要买门票(登录),所以以 Parkball(公园球) 命名,公园内必定捕获!作为一个组件库,提供使用方法文档,方便开发者的调用
28 lines (20 loc) • 581 B
Markdown
---
category: 2
title: 步骤运行错误
title_en: Error status
---
zh-CN
使用 Steps 的 `status` 属性来指定当前步骤的状态。
en-US
By using `status` of `Steps`, you can specify the state for current step.
````jsx
import { Steps } from 'parkball';
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);
````