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

Function setItems

packages/react-aria-components/test/ComboBox.test.js:1079–1082  ·  view source on GitHub ↗
([])

Source from the content-addressed store, hash-verified

1077 onInputChange={() => {
1078 if (onInputChange()) {
1079 setItems([]);
1080 } else {
1081 setItems([{id: 1, name: 'Luke Skywalker'}]);
1082 }
1083 }}
1084 onOpenChange={onOpenChange}>
1085 <Label>SW Characters</Label>

Callers 15

SearchExampleFunction · 0.85
insertFunction · 0.85
removeFunction · 0.85
moveFunction · 0.85
moveBeforeFunction · 0.85
moveAfterFunction · 0.85
updateFunction · 0.85
onRootDropFunction · 0.85
onRootDropFunction · 0.85
onRootDropFunction · 0.85
onRootDropFunction · 0.85
onRootDropFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected