MCPcopy Create free account
hub / github.com/bvaughn/react-window / rowKey

Function rowKey

lib/virtualization.test.tsx:112–112  ·  view source on GitHub ↗
(index: number, { data }: { data: string[] })

Source from the content-addressed store, hash-verified

110 observeRowElements: () => () => {}
111 };
112 const rowKey = (index: number, { data }: { data: string[] }) => data[index];
113 function Row({ index, data, style }: RowComponentProps<{ data: string[] }>) {
114 return <div style={style}>{data[index]}</div>;
115 }

Callers 2

GridFunction · 0.85
ListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected