context.d.ts 577 B

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