chop-logic-components
Version:
React UI components library for Chop Logic project
9 lines (8 loc) • 345 B
TypeScript
import { default as React } from 'react';
type UseClickOutsideParams = {
ref: React.RefObject<HTMLElement | null>;
onClickOutsideHandler: () => void;
dependentRef?: React.RefObject<HTMLElement | null>;
};
export declare const useClickOutside: ({ ref, onClickOutsideHandler, dependentRef }: UseClickOutsideParams) => void;
export {};