UNPKG

359 BTypeScriptView Raw
1import type { UseResizeDetectorReturn, useResizeDetectorProps } from './types';
2declare function useResizeDetector<T extends HTMLElement = any>({ skipOnMount, refreshMode, refreshRate, refreshOptions, handleWidth, handleHeight, targetRef, observerOptions, onResize }?: useResizeDetectorProps<T>): UseResizeDetectorReturn<T>;
3export default useResizeDetector;