import { Timeline } from '@btri-ui/base';
import React from 'react';

const App = () => (
  <Timeline>
    <Timeline.Item time="2022-07-05">默认状态信息</Timeline.Item>
    <Timeline.Item time="2022-07-05" color="green">
      成功状态信息
    </Timeline.Item>
    <Timeline.Item time="2022-07-05" color="red">
      失败状态信息
    </Timeline.Item>
    <Timeline.Item time="2022-07-05" color="gray">
      无效状态信息
    </Timeline.Item>
    <Timeline.Item time="2022-07-05">最后一个信息</Timeline.Item>
  </Timeline>
);

export default App;
