import Header from "./header" ; import Footer from "./footer" ; interface LayoutProps { children : React . ReactNode ; } export default function Layout ( { children } ) { return ( < > < Header /> < main > { children } < /main> < Footer / > < />); }