MCPcopy Index your code
hub / github.com/adobe/react-spectrum / getItem

Method getItem

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

* Gets an item from the list by key. * * @param key - The key of the item to retrieve.

(key: Key)

Source from the content-addressed store, hash-verified

54 * @param key - The key of the item to retrieve.
55 */
56 getItem(key: Key): T | undefined;
57
58 /**
59 * Inserts items into the list at the given index.

Callers 15

buildPersistedIndicesMethod · 0.65
updateMethod · 0.65
buildSectionHeaderMethod · 0.65
updateItemSizeMethod · 0.65
updateMethod · 0.65
updateMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected