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

Function RootDocument

examples/react/todo/src/routes/__root.tsx:40–52  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected