zview-plus
Version:
基于 Vue3 的 UI 组件库
28 lines (27 loc) • 697 B
TypeScript
import { ExtractPropTypes } from "vue";
export declare const MessageType: string[];
export declare const MessageProps: {
message: StringConstructor;
type: {
type: StringConstructor;
values: string[];
default: string;
};
duration: {
type: NumberConstructor;
validator(value: number): boolean;
default: number;
};
dangerouslyUseHTMLString: {
type: BooleanConstructor;
default: boolean;
};
showClose: {
type: BooleanConstructor;
default: boolean;
};
onClose: {
type: FunctionConstructor;
};
};
export declare type MessageProps = ExtractPropTypes<typeof MessageProps>;