"use strict";

require("./demo3.css");

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 tabs = [{
  tab: 'Home',
  key: 'home',
  content: 'This is home page'
}, {
  tab: 'Document',
  key: 'doc',
  content: 'This is document page'
}, {
  tab: 'API',
  key: 'api',
  content: 'This is api page'
}];

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_["default"], {
  size: "small"
}, tabs.map(function (item) {
  return /*#__PURE__*/_react["default"].createElement(_["default"].Item, {
    key: item.key,
    title: item.tab
  }, item.content);
})), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_["default"], {
  size: "small",
  shape: "wrapped"
}, tabs.map(function (item) {
  return /*#__PURE__*/_react["default"].createElement(_["default"].Item, {
    key: item.key,
    title: item.tab
  }, item.content);
})), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_["default"], {
  size: "small",
  shape: "text"
}, tabs.map(function (item) {
  return /*#__PURE__*/_react["default"].createElement(_["default"].Item, {
    key: item.key,
    title: item.tab
  }, item.content);
})), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_["default"], {
  size: "small",
  shape: "capsule"
}, tabs.map(function (item) {
  return /*#__PURE__*/_react["default"].createElement(_["default"].Item, {
    key: item.key,
    title: item.tab
  }, item.content);
}))), document.getElementById('tab-demo-3'));