hongluan-ui
Version:
Hongluan Component Library for Vue 3
76 lines (75 loc) • 2.28 kB
TypeScript
export declare const HlAlert: import("hongluan-ui/es/utils").SFCWithInstall<import("vue").DefineComponent<{
title: {
type: StringConstructor;
default: string;
};
description: {
type: StringConstructor;
default: string;
};
type: {
type: import("vue").PropType<import("../..").MessageIconType>;
default: string;
};
closable: {
type: BooleanConstructor;
default: boolean;
};
closeText: {
type: StringConstructor;
default: string;
};
showIcon: BooleanConstructor;
dashed: BooleanConstructor;
effect: {
type: import("vue").PropType<import("./src/alert").AlertEffect>;
default: string;
};
}, {
namespace: import("vue").ComputedRef<string>;
visible: import("vue").Ref<boolean>;
typeClass: import("vue").ComputedRef<string>;
iconName: import("vue").ComputedRef<import("../..").MessageIconType>;
close: (evt: Event) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
title: {
type: StringConstructor;
default: string;
};
description: {
type: StringConstructor;
default: string;
};
type: {
type: import("vue").PropType<import("../..").MessageIconType>;
default: string;
};
closable: {
type: BooleanConstructor;
default: boolean;
};
closeText: {
type: StringConstructor;
default: string;
};
showIcon: BooleanConstructor;
dashed: BooleanConstructor;
effect: {
type: import("vue").PropType<import("./src/alert").AlertEffect>;
default: string;
};
}>> & {
onClose?: (...args: any[]) => any;
}, {
type: import("../..").MessageIconType;
description: string;
closable: boolean;
effect: import("./src/alert").AlertEffect;
title: string;
closeText: string;
showIcon: boolean;
dashed: boolean;
}>> & Record<string, any>;
export default HlAlert;
export * from './src/alert';
export type { AlertInstance } from './src/instance';