Files
NapCatQQ/.pnpm-store/v3/files/08/85c790617d8b094a6ada1dea8a3eb1c3a34eadae546edf34ee46ba63b354323e85b9fab6dbf6052ebae321ba45f7d866369a58d5f8b2468a8c2262ca0310f9
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
651 B
Plaintext

import { RefObject } from 'react';
/**
* Used to handle the outside interaction for popover-based components
* e.g. dropdown, datepicker, date-range-picker, popover, select, autocomplete etc
* @param element - the element outside of the popover ref, originally from `shouldCloseOnInteractOutside`
* @param triggerRef - The trigger ref object
* @param state - The state from the popover component
* @returns - a boolean value which is same as shouldCloseOnInteractOutside
*/
declare const ariaShouldCloseOnInteractOutside: (element: Element, triggerRef: RefObject<Element>, state: any) => boolean;
export { ariaShouldCloseOnInteractOutside };