MCPcopy
hub / github.com/github/docs / render

Method render

pages/_document.tsx:32–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 render() {
33 return (
34 <Html>
35 <Head />
36 <body
37 // These values are always the SSR rendereding defaults.
38 // The will get updated later in a useEffect hook, in the client,
39 // in the MyApp component.
40 data-color-mode={defaultCSSTheme.colorMode}
41 data-light-theme={defaultCSSTheme.lightTheme}
42 data-dark-theme={defaultCSSTheme.darkTheme}
43 >
44 <Main />
45 <NextScript />
46 </body>
47 </Html>
48 )
49 }
50}

Callers 3

page.jsFile · 0.80
data.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected