import React from 'react';
import ReactDOM from 'react-dom';
import Timeline from '..';
import { Icon } from '../..';
const TimelineItem = Timeline.Item;
ReactDOM.render(React.createElement(Timeline, null,
    React.createElement(TimelineItem, { title: "Receipt", state: "process", icon: "smile", time: "2017-10-21" }),
    React.createElement(TimelineItem, { title: "Ship", dot: React.createElement("span", { className: "custom-node" }, " \uD83D\uDE02 "), state: "success", time: "2017-10-22" }),
    React.createElement(TimelineItem, { title: "Order", dot: React.createElement(Icon, { type: "success", size: "xl", style: { color: '#1DC11D' } }), content: "Congratulations, successful orders!", time: "2017-10-23" })), document.getElementById('timeline-demo-5'));
