import React from 'react'
import type { ReactNode } from 'react'
import AppHeader from './app-header'
import AppFooter from './app-footer'

interface Iprops {
  children?: ReactNode
}

const Layout = (props: Iprops) => {
  return (
    <>
      <AppHeader />
      <div> {props.children}</div>
      <AppFooter />
    </>
  )
}
export default Layout
