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

Function Example

starters/hooks/stories/Toolbar.stories.tsx:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15type Story = StoryFn<typeof Toolbar>;
16
17export const Example: Story = args => (
18 <Toolbar aria-label="Actions" {...args}>
19 <Button variant="secondary">Copy</Button>
20 <Button variant="secondary">Cut</Button>
21 <Button variant="secondary">Paste</Button>
22 </Toolbar>
23);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected