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

Method remove

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

* Removes an item from the tree by its key. * * @param key - The key of the item to remove.

(...keys: Key[])

Source from the content-addressed store, hash-verified

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

Callers 1

removeSelectedItemsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected