"use strict";

require("./demo1.css");

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

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  className: "my-menu",
  defaultOpenKeys: "sub-menu"
}, /*#__PURE__*/_react["default"].createElement(Item, {
  key: "1"
}, "Option 1"), /*#__PURE__*/_react["default"].createElement(Item, {
  disabled: true,
  key: "2"
}, "Disabled option 2"), /*#__PURE__*/_react["default"].createElement(Divider, {
  key: "divider"
}), /*#__PURE__*/_react["default"].createElement(Group, {
  label: "Group"
}, /*#__PURE__*/_react["default"].createElement(Item, {
  key: "group-1"
}, "Group option 1"), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "group-2"
}, "Group option 2")), /*#__PURE__*/_react["default"].createElement(Divider, null), /*#__PURE__*/_react["default"].createElement(SubMenu, {
  key: "sub-menu",
  label: "Sub menu"
}, /*#__PURE__*/_react["default"].createElement(Item, {
  key: "sub-1"
}, "Sub option 1"), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "sub-2"
}, "Sub option 2"), /*#__PURE__*/_react["default"].createElement(Item, {
  disabled: true,
  key: "sub-3"
}, /*#__PURE__*/_react["default"].createElement("a", {
  href: "https://www.taobao.com/",
  target: "__blank"
}, "Disabled Option Link 3")), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "sub-4"
}, /*#__PURE__*/_react["default"].createElement("a", {
  href: "https://www.taobao.com/",
  target: "__blank"
}, "Option Link 4"))), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "3",
  helper: "CTRL+P"
}, "Option 3"), /*#__PURE__*/_react["default"].createElement(Item, {
  disabled: true,
  key: "4"
}, /*#__PURE__*/_react["default"].createElement("a", {
  href: "https://www.taobao.com/",
  target: "__blank"
}, "Disabled Option Link")), /*#__PURE__*/_react["default"].createElement(Item, {
  key: "5"
}, /*#__PURE__*/_react["default"].createElement("a", {
  href: "https://www.taobao.com/",
  target: "__blank"
}, "Option Link"))), document.getElementById('menu-demo-1'));