MCPcopy
hub / github.com/TanStack/table / makeData

Function makeData

examples/react/virtualized-rows-experimental/src/makeData.ts:39–50  ·  view source on GitHub ↗
(...lens: number[])

Source from the content-addressed store, hash-verified

37}
38
39export function makeData(...lens: number[]) {
40 const makeDataLevel = (depth = 0): Person[] => {
41 const len = lens[depth]!
42 return range(len).map((d): Person => {
43 return {
44 ...newPerson(d),
45 }
46 })
47 }
48
49 return makeDataLevel()
50}

Callers 1

AppFunction · 0.90

Calls 1

makeDataLevelFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…