"use strict";

var _box = _interopRequireDefault(require("../../box"));

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

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

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

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

var Item = _["default"].Item;
var menu = ['Undo', 'Redo', 'Cut', 'Copy', 'Paste'].map(function (item) {
  return /*#__PURE__*/_react["default"].createElement(Item, {
    key: item
  }, item);
});

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement(_["default"], {
  label: "Document Edit"
}, menu), /*#__PURE__*/_react["default"].createElement(_["default"], {
  type: "primary",
  label: "Document Edit"
}, menu), /*#__PURE__*/_react["default"].createElement(_["default"], {
  type: "secondary",
  label: "Document Edit"
}, menu)), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement(_["default"], {
  text: true,
  label: "Document Edit"
}, menu), /*#__PURE__*/_react["default"].createElement(_["default"], {
  text: true,
  type: "primary",
  label: "Document Edit"
}, menu), /*#__PURE__*/_react["default"].createElement(_["default"], {
  text: true,
  type: "secondary",
  label: "Document Edit"
}, menu))), document.getElementById('menu-button-demo-1'));