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

Function Example

starters/tailwind/stories/AlertDialog.stories.tsx:18–25  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

16export default meta;
17
18export const Example = (args: any) => (
19 <DialogTrigger>
20 <Button variant="secondary">Delete…</Button>
21 <Modal>
22 <AlertDialog {...args} />
23 </Modal>
24 </DialogTrigger>
25);
26
27Example.args = {
28 title: 'Delete folder',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected