MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / RootLayout

Function RootLayout

examples/next-images/app/layout.tsx:5–18  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

3import { Header } from '../components/Header'
4
5export default function RootLayout({ children }: { children: React.ReactNode }) {
6 return (
7 <html>
8 <head>
9 <title>Contentlayer Next.js Example</title>
10 <link rel="icon" type="image/x-icon" href="/favicon.png" />
11 </head>
12 <body>
13 <Header />
14 <div className="px-6">{children}</div>
15 </body>
16 </html>
17 )
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…