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

Method getItem

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

* Gets a node from the tree by key. * * @param key - The key of the item to retrieve.

(key: Key)

Source from the content-addressed store, hash-verified

51 * @param key - The key of the item to retrieve.
52 */
53 getItem(key: Key): TreeNode<T> | undefined;
54
55 /**
56 * Inserts an item into a parent node as a child.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected