UNPKG

@atlaskit/popup

Version:

A popup displays brief content in an overlay.

4 lines (3 loc) 378 B
import { type Dispatch, type SetStateAction } from 'react'; import { type MemoizedFn } from 'memoize-one'; export declare const useGetMemoizedMergedTriggerRef: () => MemoizedFn<(ref: React.RefCallback<HTMLElement> | React.MutableRefObject<HTMLElement> | null, setTriggerRef: Dispatch<SetStateAction<HTMLElement | null>>, isOpen: boolean) => (node: HTMLElement | null) => void>;