UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

12 lines 562 B
import { RowData } from '../types'; /** * Select or deselect **all** rows. * If everything is already selected, this will clear the selection. * Otherwise, it will select all. */ export declare function selectAllRows(rows: RowData[], selectedRows: string[], onSelectionChange?: (newSelectedIds: string[]) => void): void; /** * Toggle a single row in or out of the selection. */ export declare function selectRow(row: RowData, selectedRows: string[], onSelectionChange?: (newSelectedIds: string[]) => void): void; //# sourceMappingURL=useSelectRows.d.ts.map