useNotification.d.ts 588 B

1234567891011
  1. import type { VNode } from 'vue';
  2. import type { NotificationInstance, NotificationConfig } from './interface';
  3. type HolderProps = NotificationConfig & {
  4. onAllRemoved?: VoidFunction;
  5. getPopupContainer?: () => HTMLElement;
  6. };
  7. export declare function useInternalNotification(notificationConfig?: HolderProps): readonly [NotificationInstance, () => VNode];
  8. export default function useNotification(notificationConfig?: NotificationConfig): readonly [NotificationInstance, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
  9. [key: string]: any;
  10. }>];
  11. export {};