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

Method insertAfter

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

* Inserts items into the list after the item at the given key. * * @param key - The key of the item to insert after. * @param values - The values to insert.

(key: Key, ...values: T[])

Source from the content-addressed store, hash-verified

76 * @param values - The values to insert.
77 */
78 insertAfter(key: Key, ...values: T[]): void;
79
80 /**
81 * Appends an item into a parent node as a child.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected