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

Function Example

starters/docs/stories/Popover.stories.tsx:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18type Story = StoryFn<typeof Popover>;
19
20export const Example: Story = args => (
21 <DialogTrigger>
22 <Button aria-label="Help">
23 <HelpCircle size={18} />
24 </Button>
25 <Popover {...args} className="react-aria-Popover popover-padding">
26 <Heading slot="title">Help</Heading>
27 <p>For help accessing your account, please contact support.</p>
28 </Popover>
29 </DialogTrigger>
30);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected