MCPcopy Create free account
hub / github.com/adobe/react-spectrum / App

Function App

examples/s2-esbuild-starter-app/src/app.tsx:17–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15import {Button, Provider} from '@react-spectrum/s2';
16
17function App() {
18 return (
19 <Provider elementType="main">
20 <Button
21 styles={style({
22 marginStart: 16
23 })}>
24 Hello Spectrum 2!
25 </Button>
26 </Provider>
27 );
28}
29
30export default App;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected