"use strict";

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,
    Group = _["default"].Group,
    Divider = _["default"].Divider;

function selectItem(id) {
  console.log(id);
}

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  type: "primary",
  label: "Document Edit",
  onItemClick: selectItem
}, /*#__PURE__*/_react["default"].createElement(Item, {
  key: "undo"
}, "Undo"), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "redo"
}, "Redo"), /*#__PURE__*/_react["default"].createElement(Divider, null), /*#__PURE__*/_react["default"].createElement(Group, null, /*#__PURE__*/_react["default"].createElement(Item, {
  key: "cut"
}, "Cut"), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "copy"
}, "Copy"), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "paste"
}, "Paste"))), document.getElementById('menu-button-demo-3'));