MCPcopy
hub / github.com/ryanseddon/react-frame-component / App

Function App

example/app.jsx:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13const Content = ({ children }) => <section>{children}</section>;
14
15const App = () => (
16 <div>
17 <Header>Frame example of wrapping application</Header>
18 <Content>
19 <h2>This whole app is wrapped inside an iFrame</h2>
20 </Content>
21 </div>
22);
23
24createRoot(document.querySelector('#example1')).render(
25 <Frame style={styles}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected