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

Function flexRender

examples/vanilla/pagination/src/useTable.ts:10–15  ·  view source on GitHub ↗
(comp: any, props: TProps)

Source from the content-addressed store, hash-verified

8} from '@tanstack/table-core'
9
10export const flexRender = <TProps extends object>(comp: any, props: TProps) => {
11 if (typeof comp === 'function') {
12 return comp(props)
13 }
14 return comp
15}
16
17export const useTable = <TData extends RowData>(
18 options: TableOptions<TData>

Callers 1

renderTableFunction · 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…