UNPKG

@table-library/react-table-library

Version:
13 lines (12 loc) 566 B
import * as React from 'react'; import { TableNode } from '@table-library/react-table-library/types/table'; import { TableOptions, RowOptions } from '@table-library/react-table-library/types/compact'; export declare type RowHeight = number | ((item: TableNode, index: number) => number); export declare type VirtualizedProps<T extends TableNode> = { tableList: T[]; rowHeight: RowHeight; header: () => React.ReactNode; body: (node: T, index: number) => React.ReactNode; tableOptions?: TableOptions; rowOptions?: RowOptions<T>; };