@appkitreact/react-table-library
Version:
fork of react-table-library to support react 18 version
13 lines (12 loc) • 562 B
TypeScript
import * as React from 'react';
import { TableNode } from '@appkitreact/react-table-library/types/table';
import { TableOptions, RowOptions } from '@appkitreact/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>;
};