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

23 lines
902 B
Plaintext

import { TooltipTriggerProps } from "@react-types/tooltip";
export interface TooltipTriggerState {
/** Whether the tooltip is currently showing. */
isOpen: boolean;
/**
* Shows the tooltip. By default, the tooltip becomes visible after a delay
* depending on a global warmup timer. The `immediate` option shows the
* tooltip immediately instead.
*/
open(immediate?: boolean): void;
/** Hides the tooltip. */
close(immediate?: boolean): void;
}
/**
* Manages state for a tooltip trigger. Tracks whether the tooltip is open, and provides
* methods to toggle this state. Ensures only one tooltip is open at a time and controls
* the delay for showing a tooltip.
*/
export function useTooltipTriggerState(props?: TooltipTriggerProps): TooltipTriggerState;
export type { TooltipTriggerProps } from '@react-types/tooltip';
//# sourceMappingURL=types.d.ts.map