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

Method addNode

packages/react-aria-components/src/Table.tsx:153–160  ·  view source on GitHub ↗
(node: CollectionNode<T>)

Source from the content-addressed store, hash-verified

151 }
152
153 addNode(node: CollectionNode<T>) {
154 super.addNode(node);
155
156 this.columnsDirty ||= node.type === 'column';
157 if (node.type === 'tableheader') {
158 this.head = node;
159 }
160 }
161
162 private getRows(): GridNode<T>[] {
163 let rows: GridNode<T>[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected