UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

3 lines (2 loc) 239 B
import { RefObject } from 'react'; export declare function useMutationObserver<Element extends HTMLElement>(callback: MutationCallback, options: MutationObserverInit, target?: HTMLElement | (() => HTMLElement) | null): RefObject<Element>;