UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the Data Grid components (MUI X).

10 lines (9 loc) 434 B
import type { GridStateCommunity } from '../../models/gridStateCommunity'; import type { GridRowId, GridRowModel } from '../../models/gridRows'; /** * Get the row id for a given row * @param state - The grid state * @param {GridRowModel} row - The row to get the id for * @returns {GridRowId} The row id */ export declare const gridRowIdSelector: <State extends GridStateCommunity>(state: State, row: GridRowModel) => GridRowId;