import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possibleConstructorReturn";
import _inherits from "babel-runtime/helpers/inherits";
import React, { Component } from "react";
import AntdMenu from "antd/es/menu";
import "antd/es/menu/style";
var Item = AntdMenu.Item,
    SubMenu = AntdMenu.SubMenu,
    ItemGroup = AntdMenu.ItemGroup,
    Divider = AntdMenu.Divider;

var Menu = function (_Component) {
    _inherits(Menu, _Component);

    function Menu() {
        _classCallCheck(this, Menu);

        return _possibleConstructorReturn(this, (Menu.__proto__ || Object.getPrototypeOf(Menu)).apply(this, arguments));
    }

    _createClass(Menu, [{
        key: "render",
        value: function render() {
            return React.createElement(AntdMenu, this.props);
        }
    }]);

    return Menu;
}(Component);

export default Menu;

Menu.Item = Item;
Menu.SubMenu = SubMenu;
Menu.ItemGroup = ItemGroup;
Menu.Divider = Divider;