UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

12 lines (11 loc) 588 B
import type { VNode } from 'vue'; import type { NotificationInstance, NotificationConfig } from './interface'; type HolderProps = NotificationConfig & { onAllRemoved?: VoidFunction; getPopupContainer?: () => HTMLElement; }; export declare function useInternalNotification(notificationConfig?: HolderProps): readonly [NotificationInstance, () => VNode]; export default function useNotification(notificationConfig?: NotificationConfig): readonly [NotificationInstance, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>]; export {};