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

Function Example

starters/tailwind/stories/Popover.stories.tsx:23–37  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

21export default meta;
22
23export const Example = (args: any) => (
24 <DialogTrigger>
25 <Button variant="secondary" aria-label="Help">
26 <HelpCircle className="w-4 h-4" />
27 </Button>
28 <Popover {...args} className="max-w-[250px]">
29 <Dialog>
30 <Heading slot="title" className="text-lg font-semibold mb-2">
31 Help
32 </Heading>
33 <p className="text-sm">For help accessing your account, please contact support.</p>
34 </Dialog>
35 </Popover>
36 </DialogTrigger>
37);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected