@glideapps/glide-data-grid
Version:
React data grid for beautifully displaying and editing large amounts of data with amazing performance.
7 lines • 1.02 kB
TypeScript
import type { DataGridSearchProps } from "../internal/data-grid-search/data-grid-search.js";
import { type CellArray } from "../internal/data-grid/data-grid-types.js";
import type { DataEditorProps } from "./data-editor.js";
type CellsForSelectionCallback = NonNullable<DataGridSearchProps["getCellsForSelection"]>;
export declare function useCellsForSelection(getCellsForSelectionIn: CellsForSelectionCallback | true | undefined, getCellContent: DataEditorProps["getCellContent"], rowMarkerOffset: number, abortController: AbortController, rows: number): readonly [((selection: import("../internal/data-grid/data-grid-types.js").Rectangle, abortSignal: AbortSignal) => import("../internal/data-grid/data-grid-types.js").GetCellsThunk | CellArray) | undefined, ((selection: import("../internal/data-grid/data-grid-types.js").Rectangle, abortSignal: AbortSignal) => import("../internal/data-grid/data-grid-types.js").GetCellsThunk | CellArray) | undefined];
export {};
//# sourceMappingURL=use-cells-for-selection.d.ts.map