hightable
Version:
A dynamic windowed scrolling table component for react
16 lines (15 loc) • 568 B
TypeScript
import type { SetStateAction } from 'react';
interface CellNavigationContextType {
colCount: number;
colIndex: number;
rowCount: number;
rowIndex: number;
shouldFocus: boolean;
setColIndex: (value: SetStateAction<number>) => void;
setRowIndex: (value: number) => void;
setShouldFocus: (shouldFocus: boolean) => void;
focusFirstCell: () => void;
}
export declare const defaultCellNavigationContext: CellNavigationContextType;
export declare const CellNavigationContext: import("react").Context<CellNavigationContextType>;
export {};