import React from 'react' ; import Header from '@components/Header' ; import Aside from '@components/Aside' ; import Footer from '@components/Footer' ; import Loading from '@components/Loading' ; import { Props } from 'src/types' ; import './index.scss' ; const Layout = ( props ) => ( < > < Header /> < main className = "layout" > < Aside /> < div className = "layout-main" > { props . children } < /div> < /main> < Footer / > < Loading /> < />); export default Layout ;