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

Function Example

starters/docs/stories/Tooltip.stories.tsx:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16type Story = StoryFn<typeof Tooltip>;
17
18export const Example: Story = args => (
19 <TooltipTrigger>
20 <Button>
21 <Save size={18} />
22 </Button>
23 <Tooltip {...args}>Save</Tooltip>
24 </TooltipTrigger>
25);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected