@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
10 lines (9 loc) • 418 B
TypeScript
import type { Plugin } from 'tippy.js';
/**
* Due to @react-aria's event abstraction layer, we add an invisible backdrop for all popovers
* to not interfere with any components built with the hooks from @react-aria.
*
* This will make sure that popovers are closed on clickoutside and no longer
* be stuck open in case the even target was a @react-aria button.
*/
export declare const addBackdropPlugin: Plugin;