MCPcopy
hub / github.com/bvaughn/react-window / itemSize

Function itemSize

lib/core/useVirtualizer.test.ts:64–64  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

62
63 test("itemSize type: function", () => {
64 const itemSize = (index: number) => 20 + index * 20;
65
66 const { result } = renderHook(() =>
67 useVirtualizer({

Callers 1

getFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…