mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* docs: add Gatsby example, move Next.js example * chore: fix sync action * docs(example): fix README link
18 lines
303 B
TypeScript
18 lines
303 B
TypeScript
import Header from "./header"
|
|
import Footer from "./footer"
|
|
import type { ReactChildren } from "react"
|
|
|
|
interface Props {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export default function Layout({ children }: Props) {
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</>
|
|
)
|
|
}
|