minishouyin/node_modules/rc-table/lib/VirtualTable/context.d.ts
2025-11-12 11:35:57 +08:00

15 lines
577 B
TypeScript

/// <reference types="react" />
import type { GetComponent, TableSticky } from '../interface';
export interface StaticContextProps {
scrollY: number;
listItemHeight: number;
sticky: boolean | TableSticky;
getComponent: GetComponent;
onScroll?: React.UIEventHandler<HTMLDivElement>;
}
export declare const StaticContext: import("@rc-component/context").SelectorContext<StaticContextProps>;
export interface GridContextProps {
columnsOffset: number[];
}
export declare const GridContext: import("@rc-component/context").SelectorContext<GridContextProps>;