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

Function Example

starters/hooks/stories/Tabs.stories.tsx:16–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14type Story = StoryFn<typeof Tabs>;
15
16export const Example: Story = args => (
17 <Tabs aria-label="History of Ancient Rome" {...args}>
18 <Tab id="FoR" title="Founding of Rome">
19 Arma virumque cano, Troiae qui primus ab oris.
20 </Tab>
21 <Tab id="MaR" title="Monarchy and Republic">
22 Senatus Populusque Romanus.
23 </Tab>
24 <Tab id="Emp" title="Empire">
25 Alea jacta est.
26 </Tab>
27 </Tabs>
28);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected