UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

2 lines (1 loc) 221 B
export declare function useMutationObserver<T extends HTMLElement = any>(callback: MutationCallback, options: MutationObserverInit, target?: HTMLElement | (() => HTMLElement) | null): import("react").RefObject<T | null>;