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

55 lines
3.3 KiB
Plaintext

import * as framer_motion from 'framer-motion';
import * as _heroui_theme from '@heroui/theme';
import * as React from 'react';
import * as _heroui_system from '@heroui/system';
import * as _react_stately_overlays from '@react-stately/overlays';
declare const PopoverProvider: React.Provider<{
state: _react_stately_overlays.OverlayTriggerState;
Component: _heroui_system.As<any>;
children: React.ReactNode;
classNames: _heroui_theme.SlotsToClasses<"base" | "content" | "trigger" | "backdrop" | "arrow"> | undefined;
showArrow: boolean;
triggerRef: React.RefObject<HTMLElement>;
placement: "center" | "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | null;
isNonModal: boolean;
popoverRef: React.RefObject<HTMLDivElement>;
portalContainer: Element | undefined;
isOpen: boolean;
onClose: () => void;
disableAnimation: boolean;
shouldBlockScroll: boolean;
backdrop: "transparent" | "opaque" | "blur";
motionProps: framer_motion.HTMLMotionProps<"div"> | undefined;
getBackdropProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getPopoverProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getTriggerProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getDialogProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getContentProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
}>;
declare const usePopoverContext: () => {
state: _react_stately_overlays.OverlayTriggerState;
Component: _heroui_system.As<any>;
children: React.ReactNode;
classNames: _heroui_theme.SlotsToClasses<"base" | "content" | "trigger" | "backdrop" | "arrow"> | undefined;
showArrow: boolean;
triggerRef: React.RefObject<HTMLElement>;
placement: "center" | "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | null;
isNonModal: boolean;
popoverRef: React.RefObject<HTMLDivElement>;
portalContainer: Element | undefined;
isOpen: boolean;
onClose: () => void;
disableAnimation: boolean;
shouldBlockScroll: boolean;
backdrop: "transparent" | "opaque" | "blur";
motionProps: framer_motion.HTMLMotionProps<"div"> | undefined;
getBackdropProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getPopoverProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getTriggerProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getDialogProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
getContentProps: _heroui_system.PropGetter<Record<string, unknown>, _heroui_system.DOMAttributes<_heroui_system.DOMElement>>;
};
export { PopoverProvider, usePopoverContext };