"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _table = _interopRequireDefault(require("antd/lib/table"));
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var Table = function Table(props) {
  var columns = (props.columns || []).filter(function (item) {
    return !(item !== null && item !== void 0 && item.hidden);
  });
  return /*#__PURE__*/_react["default"].createElement(_table["default"], (0, _extends2["default"])({}, props, {
    columns: columns
  }));
};
var _default = Table;
exports["default"] = _default;