15 lines
625 B
TypeScript
15 lines
625 B
TypeScript
import type { CompareProps } from '@rc-component/context/lib/Immutable';
|
|
import * as React from 'react';
|
|
import Table, { type TableProps } from '../Table';
|
|
export interface VirtualTableProps<RecordType> extends Omit<TableProps<RecordType>, 'scroll'> {
|
|
scroll: {
|
|
x?: number;
|
|
y: number;
|
|
};
|
|
listItemHeight?: number;
|
|
}
|
|
declare function VirtualTable<RecordType>(props: VirtualTableProps<RecordType>): React.JSX.Element;
|
|
export declare function genVirtualTable(shouldTriggerRender?: CompareProps<typeof Table>): typeof VirtualTable;
|
|
declare const _default: typeof VirtualTable;
|
|
export default _default;
|