vue-devui
Version:
DevUI components based on Vite and Vue3
36 lines (35 loc) • 1.44 kB
TypeScript
import './message.scss';
declare const _default: import("vue").DefineComponent<{
readonly type: import("./message-types").MessageType;
readonly message: string;
readonly id: string;
readonly visible: boolean;
readonly duration: number;
readonly shadow: boolean;
readonly bordered: boolean;
readonly showClose: boolean;
readonly onClose?: (() => void) | undefined;
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "destroy")[], "close" | "destroy", import("vue").PublicProps, Readonly<{
readonly type: import("./message-types").MessageType;
readonly message: string;
readonly id: string;
readonly visible: boolean;
readonly duration: number;
readonly shadow: boolean;
readonly bordered: boolean;
readonly showClose: boolean;
readonly onClose?: (() => void) | undefined;
}> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
onDestroy?: ((...args: any[]) => any) | undefined;
}>, {
readonly type: import("./message-types").MessageType;
readonly message: string;
readonly id: string;
readonly visible: boolean;
readonly duration: number;
readonly shadow: boolean;
readonly bordered: boolean;
readonly showClose: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;