UNPKG

@mui/x-data-grid

Version:

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

4 lines (3 loc) 476 B
import { RefObject } from '@mui/x-internals/types'; import { GridPrivateApiCommon } from '../../models/api/gridApiCommon'; export declare const useGridNativeEventListener: <PrivateApi extends GridPrivateApiCommon, K extends keyof HTMLElementEventMap>(apiRef: RefObject<PrivateApi>, ref: React.RefObject<HTMLDivElement | null> | (() => HTMLElement | undefined | null), eventName: K, handler?: (event: HTMLElementEventMap[K]) => any, options?: AddEventListenerOptions) => void;