@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
14 lines • 568 B
TypeScript
import * as React from 'react';
import { GridLoadingOverlayVariant } from "../../../components/GridLoadingOverlay.js";
import type { GridOverlayType } from '../../../components/base/GridOverlays';
/**
* Uses the grid state to determine which overlay to display.
* Returns the active overlay type and the active loading overlay variant.
*/
export declare const useGridOverlays: () => {
getOverlay: () => React.JSX.Element | null;
overlaysProps: {
overlayType: NonNullable<GridOverlayType>;
loadingOverlayVariant: GridLoadingOverlayVariant | null;
};
};