Repository URL to install this package:
|
Version:
2.7.3 ▾
|
import { ClickBoundaryProps, ClickBoundaryRef } from './typings';
export declare const IS_BROWSER: boolean;
export declare function isClickOutsideElement(event: Event, dom: Element): boolean;
export declare function isClickInsideElement(event: Event, dom: Element): boolean;
export declare function toChildren(props: ClickBoundaryProps, ref: ClickBoundaryRef): {} | null | undefined;
export declare function onClick(event: Event, props: ClickBoundaryProps, dom: ClickBoundaryRef): void;