UNPKG

@mui/x-data-grid

Version:

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

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