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

Function Example

starters/docs/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 {...args}>
18 <Tag>Chocolate</Tag>
19 <Tag>Mint</Tag>
20 <Tag>Strawberry</Tag>
21 <Tag>Vanilla</Tag>
22 </TagGroup>
23);
24
25Example.args = {
26 label: 'Ice cream flavor',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected