import React__default from 'react';
import { Layout } from 'antd';

const {
  Header,
  Content
} = Layout;
function AppLayout({
  header,
  content,
  children,
  className = '',
  headerClassName = '',
  contentClassName = ''
}) {
  return /*#__PURE__*/React__default.createElement(Layout, {
    className: `app-layout-container ${className}`
  }, /*#__PURE__*/React__default.createElement(Header, {
    className: `app-layout-header ${headerClassName}`
  }, header), /*#__PURE__*/React__default.createElement(Content, {
    className: `app-layout-content ${contentClassName}`
  }, children || content));
}

export { AppLayout as default };
//# sourceMappingURL=index.js.map
