"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var React = _interopRequireWildcard(require("react"));

var _Menu = _interopRequireWildcard(require("./styles/Menu"));

/**
 * @public
 */
var Menu = function Menu(props) {
  return React.createElement(_Menu.default, (0, _extends2.default)({
    type: "line",
    direction: "ver",
    activeDirection: "right",
    triggerType: "click"
  }, props));
};

Menu.Item = _Menu.Item;
Menu.Group = _Menu.Group;
Menu.SubMenu = _Menu.SubMenu;
Menu.PopupItem = _Menu.PopupItem;
var _default = Menu;
exports.default = _default;