"use strict";

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

var _ = _interopRequireDefault(require(".."));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var dataSource = function dataSource() {
  var result = [];

  for (var i = 0; i < 5; i++) {
    result.push({
      title: {
        name: "Quotation for 1PCS Nano ".concat(3 + i, ".0 controller compatible")
      },
      id: 100306660940 + i,
      time: 2000 + i
    });
  }

  return result;
};

var render = function render(current) {
  return /*#__PURE__*/_react["default"].createElement("a", null, " remove ", current);
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  dataSource: dataSource(),
  crossline: true
}, /*#__PURE__*/_react["default"].createElement(_["default"].Column, {
  title: "Id",
  dataIndex: "id"
}), /*#__PURE__*/_react["default"].createElement(_["default"].Column, {
  title: "Title",
  dataIndex: "title.name"
}), /*#__PURE__*/_react["default"].createElement(_["default"].Column, {
  title: "Time",
  dataIndex: "time"
}), /*#__PURE__*/_react["default"].createElement(_["default"].Column, {
  title: "Operation",
  dataIndex: "id",
  cell: render
})), document.getElementById('table-demo-28'));