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

Function Example

starters/docs/stories/Disclosure.stories.tsx:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13type Story = StoryFn<typeof Disclosure>;
14
15export const Example: Story = args => (
16 <Disclosure {...args}>
17 <DisclosureHeader>Manage your account</DisclosureHeader>
18 <DisclosurePanel>Details on managing your account</DisclosurePanel>
19 </Disclosure>
20);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected