import { Header, Footer } from './index';
import { BreadCrumb } from 'components/Breadcrump/BreadCrumbs';

type TypeProps = { children: JSX.Element };

const Layout = ({ children }: TypeProps): JSX.Element => {
  return (
    <>
      <Header />
      {/* TODO: раскомментировать после релиза */}
      {/*<BreadCrumb />*/}
      {children}
      <Footer />
    </>
  );
};

export default Layout;
