15 lines
577 B
TypeScript
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>;
|