You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
748 B

---
order: 1
title: 圆圈颜色
---
9 years ago
圆圈颜色,绿色用于已完成、成功状态,红色表示告警或错误状态,蓝色可表示正在进行或其他默认状态。
9 years ago
````jsx
import { Timeline } from 'antd';
9 years ago
9 years ago
ReactDOM.render(
9 years ago
<Timeline>
<Timeline.Item color="green">创建服务现场 2015-09-01</Timeline.Item>
<Timeline.Item color="green">创建服务现场 2015-09-01</Timeline.Item>
<Timeline.Item color="red">
<p>初步排除网络异常1</p>
<p>初步排除网络异常2</p>
<p>初步排除网络异常3 2015-09-01</p>
</Timeline.Item>
<Timeline.Item>
<p>技术测试异常1</p>
<p>技术测试异常2</p>
<p>技术测试异常3 2015-09-01</p>
</Timeline.Item>
9 years ago
</Timeline>
, mountNode);
9 years ago
````