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

Function Example

starters/tailwind/stories/Select.stories.tsx:20–27  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

18export default meta;
19
20export const Example = (args: any) => (
21 <Select {...args}>
22 <SelectItem>Chocolate</SelectItem>
23 <SelectItem id="mint">Mint</SelectItem>
24 <SelectItem>Strawberry</SelectItem>
25 <SelectItem>Vanilla</SelectItem>
26 </Select>
27);
28
29export const DisabledItems = (args: any) => <Example {...args} />;
30DisabledItems.args = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected