"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;
var _react = _interopRequireDefault(require("react"));
var _antd = require("antd");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function _default(props) {
  var _props$tabsList = props.tabsList,
    tabsList = _props$tabsList === void 0 ? [] : _props$tabsList;
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_antd.Tabs, {
    items: tabsList
  }, tabsList.map(function (item) {
    return /*#__PURE__*/_react["default"].createElement(_antd.Tabs.TabPane, {
      tab: item.label,
      key: item.key
    }, item.children);
  })));
}
//# sourceMappingURL=index.js.map
