UNPKG

@hhgtech/hhg-components

Version:
11 lines (10 loc) 437 B
import { MouseEvent } from 'react'; export declare const useCSSFocusPopupHelper: <T = HTMLDivElement, ButtonType = HTMLDivElement>(configs?: { allowBgScroll?: boolean; }) => { containerRef: import("react").MutableRefObject<T & HTMLElement>; onContainerFocus: () => void; onContainerBlur: () => void; onButtonMouseDown: (e: MouseEvent<ButtonType, globalThis.MouseEvent>) => void; onClose: () => void; };