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

Function Example

starters/tailwind/stories/ComboBox.stories.tsx:21–28  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected