UNPKG

react-clickout-ts

Version:
10 lines 489 B
import { type ReactNode, type RefObject } from 'react'; export interface ClickOutProps { readonly children: ReactNode; readonly enabled?: boolean; readonly events?: string[]; readonly ignoredElements?: RefObject<HTMLElement | null>[]; readonly onClickOut?: (ev: Event) => void; } export declare const ClickOutHandler: ({ children, enabled, ignoredElements, onClickOut }: ClickOutProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=component.d.ts.map