UNPKG

@mui/x-data-grid

Version:

The community edition of the data grid component (MUI X).

16 lines (15 loc) 563 B
import { GridControlledStateReasonLookup } from '../events/gridEventLookup'; /** * Additional details passed to the callbacks */ export interface GridCallbackDetails<K extends keyof GridControlledStateReasonLookup = any> { /** * Provided only if `DataGridPro` is being used. * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`) */ api?: any; /** * The reason for this callback to have been called. */ reason?: GridControlledStateReasonLookup[K]; }