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

Function Example

starters/tailwind/stories/DisclosureGroup.stories.tsx:16–31  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

14export default meta;
15
16export const Example = (args: any) => (
17 <DisclosureGroup {...args}>
18 <Disclosure>
19 <DisclosureHeader>Files</DisclosureHeader>
20 <DisclosurePanel>Files content</DisclosurePanel>
21 </Disclosure>
22 <Disclosure>
23 <DisclosureHeader>Images</DisclosureHeader>
24 <DisclosurePanel>Images content</DisclosurePanel>
25 </Disclosure>
26 <Disclosure>
27 <DisclosureHeader>Documents</DisclosureHeader>
28 <DisclosurePanel>Documents content</DisclosurePanel>
29 </Disclosure>
30 </DisclosureGroup>
31);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected