MCPcopy Index your code
hub / github.com/TanStack/table / makeData

Function makeData

examples/react/virtualized-columns-experimental/src/makeData.ts:12–17  ·  view source on GitHub ↗
(num, columns)

Source from the content-addressed store, hash-verified

10 })
11
12export const makeData = (num, columns) =>
13 [...Array(num)].map(() => ({
14 ...Object.fromEntries(
15 columns.map(col => [col.accessorKey, faker.person.firstName()])
16 ),
17 }))
18
19export type Person = ReturnType<typeof makeData>[0]

Callers 1

AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…