@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
11 lines (10 loc) • 365 B
TypeScript
import type { Grid } from "../+types.js";
import type { InternalAtoms } from "../state/+types.js";
export declare function useEdgeScroll(grid: Grid<any> & {
internal: InternalAtoms;
}): {
cancelX: () => void;
edgeScrollX: (visualPositionX: number, isRtl: boolean) => void;
cancelY: () => void;
edgeScrollY: (visualPositionY: number) => void;
};