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

7 lines
361 B
Plaintext

import type { ActiveAnimationType } from '../types';
/**
* 动画关闭处理真实关闭状态
* 通过 onAnimationEnd 回调实现 leaveCallback
*/
export default function useAnimationVisible(visible: boolean | undefined, afterClose?: () => void): [realVisible: boolean | undefined, activeAnimation: ActiveAnimationType, onAnimationEnd: () => void];