@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
17 lines (16 loc) • 466 B
TypeScript
import type { Plugin } from 'tippy.js';
type SetupPluginOptions = {
hideKeys: string[];
stopEventPropagation: boolean;
hideListenerTarget?: 'this' | 'window';
};
/**
* Change plugin settings
* @param options
*/
export declare const setupHideOnPlugin: ({ hideKeys, stopEventPropagation, hideListenerTarget, }: SetupPluginOptions) => void;
/**
* Tippy plugin to add hiding on Esc to Popover
*/
export declare const hideOnEscPlugin: Plugin;
export {};