import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import StyledMenu, { Item, Group, SubMenu, PopupItem } from './styles/Menu';
/**
 * Menu组件的类型。我们通过Page的对象属性导出了其余的Menu组件。
 * @public
 */

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

Menu.Item = Item;
Menu.Group = Group;
Menu.SubMenu = SubMenu;
Menu.PopupItem = PopupItem;
export default Menu;