UNPKG

@blueprintjs/table

Version:

Scalable interactive table component

21 lines (20 loc) 492 B
export interface CellCoordinates { col: number; row: number; } export interface FocusedCellCoordinates extends CellCoordinates { focusSelectionIndex: number; } export declare enum FocusMode { CELL = "cell", ROW = "row" } export interface FocusedCell extends FocusedCellCoordinates { type: FocusMode.CELL; } export interface FocusedRow { type: FocusMode.ROW; row: number; focusSelectionIndex: number; } export type FocusedRegion = FocusedCell | FocusedRow;