@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
104 lines (103 loc) • 3.13 kB
TypeScript
import type { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
type: {
type: PropType<"error" | "normal" | "success" | "warning" | "info">;
default: string;
};
showIcon: {
type: BooleanConstructor;
default: boolean;
};
closable: {
type: BooleanConstructor;
default: boolean;
};
title: StringConstructor;
banner: {
type: BooleanConstructor;
default: boolean;
};
center: {
type: BooleanConstructor;
default: boolean;
};
}>, {
prefixCls: string;
cls: import("vue").ComputedRef<(string | {
[x: string]: boolean;
})[]>;
visible: import("vue").Ref<boolean, boolean>;
handleClose: (ev: MouseEvent) => void;
handleAfterLeave: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
close: (ev: MouseEvent) => true;
afterClose: () => true;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
type: {
type: PropType<"error" | "normal" | "success" | "warning" | "info">;
default: string;
};
showIcon: {
type: BooleanConstructor;
default: boolean;
};
closable: {
type: BooleanConstructor;
default: boolean;
};
title: StringConstructor;
banner: {
type: BooleanConstructor;
default: boolean;
};
center: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onClose?: ((ev: MouseEvent) => any) | undefined;
onAfterClose?: (() => any) | undefined;
}>, {
type: "error" | "normal" | "success" | "warning" | "info";
closable: boolean;
center: boolean;
showIcon: boolean;
banner: boolean;
}, {}, {
IconHover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
prefix: {
type: StringConstructor;
};
size: {
type: PropType<"mini" | "small" | "medium" | "large">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>, {
prefixCls: string;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
prefix: {
type: StringConstructor;
};
size: {
type: PropType<"mini" | "small" | "medium" | "large">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
size: "mini" | "small" | "medium" | "large";
disabled: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
IconClose: any;
IconInfoCircleFill: any;
IconCheckCircleFill: any;
IconExclamationCircleFill: any;
IconCloseCircleFill: any;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;