"use strict";

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

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  label: "Edit Document",
  onItemClick: function onItemClick(key) {
    return console.log(key);
  }
}, /*#__PURE__*/_react["default"].createElement(Item, null, "Undo"), /*#__PURE__*/_react["default"].createElement(Item, null, "Redo"), /*#__PURE__*/_react["default"].createElement(Divider, null), /*#__PURE__*/_react["default"].createElement(Group, null, /*#__PURE__*/_react["default"].createElement(Item, {
  helper: "CTRL + X"
}, "Cut"), /*#__PURE__*/_react["default"].createElement(Item, {
  helper: "CTRL + C"
}, "Copy"), /*#__PURE__*/_react["default"].createElement(Item, {
  helper: "CTRL + V"
}, "Paste"))), document.getElementById('split-button-demo-4'));