import React from 'react';
import ReactDOM from 'react-dom';
import Timeline from '..';

const TimelineItem = Timeline.Item;
ReactDOM.render(
  <Timeline>
    <TimelineItem
      title="process"
      state="process"
      icon="smile"
      time="2017-10-21"
    />
    <TimelineItem
      title="success"
      icon="success"
      state="success"
      content="Congratulations, successful orders!"
      time="2017-10-23"
    />
    <TimelineItem
      title="error"
      state="error"
      icon="atm"
      time="2017-10-22"
    />
    <TimelineItem
      title="disabled"
      icon="smile"
      disabled
      content="Congratulations, successful orders!"
      time="2017-10-23"
    />
  </Timeline>,
  document.getElementById('timeline-demo-5'),
);
