UNPKG

@fesjs/fes-design

Version:
25 lines (24 loc) 1 kB
import { type CSSProperties, type VNode, type VNodeChild } from 'vue'; export interface Notice { key?: string; afterRemove?: () => void; duration: number; style: CSSProperties; children: VNode | (() => VNodeChild); } export interface NoticeManagerInst { remove: (key: string) => void; append: (notice: Notice) => Notice; destroy: () => void; exited: () => boolean; } export declare function createManager(opt: { getContainer?: () => HTMLElement; [key: string]: any; }): Promise<NoticeManagerInst>; export declare const iconComponentMap: { info: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element; success: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element; error: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element; warning: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element; };