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

Function Example

starters/docs/stories/ColorSwatchPicker.stories.tsx:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13type Story = StoryFn<typeof ColorSwatchPicker>;
14
15export const Example: Story = args => (
16 <ColorSwatchPicker {...args}>
17 <ColorSwatchPickerItem color="#A00" />
18 <ColorSwatchPickerItem color="#f80" />
19 <ColorSwatchPickerItem color="#080" />
20 <ColorSwatchPickerItem color="#08f" />
21 <ColorSwatchPickerItem color="#088" />
22 <ColorSwatchPickerItem color="#008" />
23 </ColorSwatchPicker>
24);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected