import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possibleConstructorReturn";
import _inherits from "babel-runtime/helpers/inherits";
import React, { Component } from "react";
import AntdTimeline from "antd/es/timeline";
import "antd/es/timeline/style";
var Item = AntdTimeline.Item;

var Timeline = function (_Component) {
    _inherits(Timeline, _Component);

    function Timeline() {
        _classCallCheck(this, Timeline);

        return _possibleConstructorReturn(this, (Timeline.__proto__ || Object.getPrototypeOf(Timeline)).apply(this, arguments));
    }

    _createClass(Timeline, [{
        key: "render",
        value: function render() {
            return React.createElement(AntdTimeline, this.props);
        }
    }]);

    return Timeline;
}(Component);

export default Timeline;

Timeline.Item = Item;