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 AntdLayout from "antd/es/layout";
import "antd/es/layout/style";
var Header = AntdLayout.Header,
    Content = AntdLayout.Content,
    Footer = AntdLayout.Footer,
    Sider = AntdLayout.Sider;

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

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

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

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

    return Layout;
}(Component);

export default Layout;

Layout.Header = Header;
Layout.Content = Content;
Layout.Footer = Footer;
Layout.Sider = Sider;