UNPKG

577 BTypeScriptView Raw
1/// <reference types="react" />
2import type { GetComponent, TableSticky } from '../interface';
3export interface StaticContextProps {
4 scrollY: number;
5 listItemHeight: number;
6 sticky: boolean | TableSticky;
7 getComponent: GetComponent;
8 onScroll?: React.UIEventHandler<HTMLDivElement>;
9}
10export declare const StaticContext: import("@rc-component/context").SelectorContext<StaticContextProps>;
11export interface GridContextProps {
12 columnsOffset: number[];
13}
14export declare const GridContext: import("@rc-component/context").SelectorContext<GridContextProps>;