MCPcopy
hub / github.com/adobe/react-spectrum / remove

Method remove

packages/react-stately/src/data/useListData.ts:101–101  ·  view source on GitHub ↗

* Removes items from the list by their keys. * * @param keys - The keys of the item to remove.

(...keys: Key[])

Source from the content-addressed store, hash-verified

99 * @param keys - The keys of the item to remove.
100 */
101 remove(...keys: Key[]): void;
102
103 /**
104 * Removes all items from the list that are currently

Callers 15

usePress.test.jsFile · 0.65
ExampleFunction · 0.65
domHelpers.test.jsFile · 0.65
getNonce.test.jsFile · 0.65
mutateFunction · 0.65
dnd.test.jsFile · 0.65
onClickFunction · 0.65
onClickFunction · 0.65
useDescriptionFunction · 0.65

Calls

no outgoing calls

Tested by 4

ExampleFunction · 0.52
mutateFunction · 0.52
onClickFunction · 0.52
onClickFunction · 0.52