UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

13 lines (12 loc) 343 B
interface CellData { ariaColIndex: number; ariaRowIndex: number; } type TabIndex = -1 | 0; interface CellFocus { tabIndex: TabIndex; focusCellIfNeeded: (element: HTMLElement | null) => void; navigateToCell: () => void; } export declare function useCellFocus({ ariaColIndex, ariaRowIndex }: CellData): CellFocus; export {};