amis-rpc-design/node_modules/rc-table/lib/VirtualTable/index.d.ts
2023-10-07 19:42:30 +08:00

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;