MCPcopy
hub / github.com/facebook/react / Page2

Function Page2

fixtures/ssr/src/components/Page2.js:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import './Page.css';
7
8export default function Page2() {
9 let theme = useContext(Theme);
10 return (
11 <div className={theme + '-box'}>
12 <Suspend>Content of a different page</Suspend>
13 </div>
14 );
15}

Callers

nothing calls this directly

Calls 1

useContextFunction · 0.90

Tested by

no test coverage detected