import './style';
import { withInstall, withNoopInstall } from '../_util/withInstall';
import Layout from './layout.js';
import Header from './header.js';
export { layoutHeaderProps } from './header.js';
import Main from './main.js';
export { layoutMainProps } from './main.js';
import Aside from './aside.js';
export { layoutAsideProps } from './aside.js';
import Footer from './footer.js';
export { layoutFooterProps } from './footer.js';
export { layoutProps } from './const';

const FLayout = withInstall(Layout, {
  Header,
  Main,
  Aside,
  Footer
});
const FHeader = withNoopInstall(Header);
const FMain = withNoopInstall(Main);
const FAside = withNoopInstall(Aside);
const FFooter = withNoopInstall(Footer);

export { FAside, FFooter, FHeader, FLayout, FMain, FLayout as default };
