"use strict";

Object.defineProperty(exports, "__esModule", {
    value: true
});

var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");

var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);

var _createClass2 = require("babel-runtime/helpers/createClass");

var _createClass3 = _interopRequireDefault(_createClass2);

var _possibleConstructorReturn2 = require("babel-runtime/helpers/possibleConstructorReturn");

var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);

var _inherits2 = require("babel-runtime/helpers/inherits");

var _inherits3 = _interopRequireDefault(_inherits2);

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

var _menu = require("antd/lib/menu");

var _menu2 = _interopRequireDefault(_menu);

require("antd/lib/menu/style");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var Item = _menu2["default"].Item,
    SubMenu = _menu2["default"].SubMenu,
    ItemGroup = _menu2["default"].ItemGroup,
    Divider = _menu2["default"].Divider;

var Menu = function (_Component) {
    (0, _inherits3["default"])(Menu, _Component);

    function Menu() {
        (0, _classCallCheck3["default"])(this, Menu);
        return (0, _possibleConstructorReturn3["default"])(this, (Menu.__proto__ || Object.getPrototypeOf(Menu)).apply(this, arguments));
    }

    (0, _createClass3["default"])(Menu, [{
        key: "render",
        value: function render() {
            return _react2["default"].createElement(_menu2["default"], this.props);
        }
    }]);
    return Menu;
}(_react.Component);

exports["default"] = Menu;

Menu.Item = Item;
Menu.SubMenu = SubMenu;
Menu.ItemGroup = ItemGroup;
Menu.Divider = Divider;
module.exports = exports['default'];