comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
62 lines (60 loc) • 1.94 kB
TypeScript
import { Component, PropType, VNode } from 'vue';
import { ComicType2 } from '../../../../utils';
export declare const alertProps: {
readonly destroy: FunctionConstructor;
readonly title: {
readonly type: StringConstructor;
readonly default: "提示";
};
readonly type: PropType<ComicType2>;
readonly content: PropType<string | VNode>;
readonly closeButtonText: {
readonly type: StringConstructor;
readonly default: "关闭";
};
readonly icon: PropType<Component>;
readonly color: StringConstructor;
readonly center: BooleanConstructor;
readonly modeClose: BooleanConstructor;
readonly escClose: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showButton: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showClose: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showIcon: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly lockScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly isVNode: BooleanConstructor;
readonly customClass: StringConstructor;
readonly modeClass: StringConstructor;
};
export type AlertOptions = {
readonly title?: string;
readonly type?: 'primary' | 'success' | 'warning' | 'info' | 'error';
readonly content?: string | VNode;
readonly closeButtonText?: string;
readonly icon?: Component;
readonly color?: string;
readonly center?: boolean;
readonly modeClose?: boolean;
readonly escClose?: boolean;
readonly showButton?: boolean;
readonly showClose?: boolean;
readonly showIcon?: boolean;
readonly lockScroll?: boolean;
readonly customClass?: String;
readonly modeClass?: String;
readonly isVNode?: boolean;
};