"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;
var _react = _interopRequireDefault(require("react"));
var _antd = require("antd");
var _vmEmpty = _interopRequireDefault(require("../vm-empty"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function _default(props) {
  var _props$timeLineList = props.timeLineList,
    timeLineList = _props$timeLineList === void 0 ? [] : _props$timeLineList;
  return /*#__PURE__*/_react["default"].createElement("div", {
    style: {
      height: '100%'
    }
  }, timeLineList.length ? (/*#__PURE__*/_react["default"].createElement(_antd.Timeline, null, timeLineList.map(function (item, index) {
    return /*#__PURE__*/_react["default"].createElement(_antd.Timeline.Item, {
      key: index,
      color: item.color || 'gray'
    }, item.content);
  }))) : (/*#__PURE__*/_react["default"].createElement(_vmEmpty["default"], null)));
}
//# sourceMappingURL=index.js.map
