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

Function Example

starters/hooks/stories/TagGroup.stories.tsx:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14type Story = StoryFn<typeof TagGroup>;
15
16export const Example: Story = args => (
17 <TagGroup label="Ice cream flavor" selectionMode="single" {...args}>
18 <Tag id="chocolate">Chocolate</Tag>
19 <Tag id="mint">Mint</Tag>
20 <Tag id="strawberry">Strawberry</Tag>
21 <Tag id="vanilla">Vanilla</Tag>
22 </TagGroup>
23);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected