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

Function RootDocument

examples/react/projects/src/routes/__root.tsx:42–54  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

40})
41
42function RootDocument({ children }: { children: React.ReactNode }) {
43 return (
44 <html lang="en">
45 <head>
46 <HeadContent />
47 </head>
48 <body>
49 {children}
50 <Scripts />
51 </body>
52 </html>
53 )
54}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected