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