amis-rpc-design/node_modules/rc-table/lib/VirtualTable/index.d.ts

15 lines
625 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;