slate-devtools
Version:
`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code
8 lines • 321 B
TypeScript
/// <reference types="react" />
declare type Callback = (e: MouseEvent) => void;
/**
* Run a function when mouse clicks outside of an element
*/
export declare const useOuterClick: <T extends HTMLElement>(callback: Callback) => import("react").RefObject<T>;
export {};
//# sourceMappingURL=useOuterClick.d.ts.map