import React, { ComponentType } from 'react'; import { UxGridFrameState as State } from './index'; import { UxGridFrameScrollPosition } from './IUxGridFrame'; export declare function withScroll
(WrappedComponent: ComponentType
): { new (props: Readonly
>): {
colWidth: number;
scrollRef: React.RefObject >) => State | Pick > & Readonly<{
children?: React.ReactNode;
}>;
refs: {
[key: string]: React.ReactInstance;
};
};
new (props: P & Readonly<{
startIx: number;
scrollTop: number;
scrollLeft: number;
}>, context?: any): {
colWidth: number;
scrollRef: React.RefObject >) => State | Pick > & Readonly<{
children?: React.ReactNode;
}>;
refs: {
[key: string]: React.ReactInstance;
};
};
readonly defaultProps: Readonly<{
startIx: number;
scrollTop: number;
scrollLeft: number;
}>;
contextType?: React.Context