MCPcopy Create free account
hub / github.com/TanStack/devtools / RootDocument

Function RootDocument

examples/react/drizzle/src/routes/__root.tsx:35–47  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

33}
34
35function RootDocument({ children }: { children: React.ReactNode }) {
36 return (
37 <html>
38 <head>
39 <HeadContent />
40 </head>
41 <body style={{ margin: 0, padding: 0, height: '100vh' }}>
42 {children}
43 <Scripts />
44 </body>
45 </html>
46 )
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected