@joker.front/ui
Version:
Joker UI组件库是一个精心设计和编码的项目,旨在为开发者提供一系列高效、易用且美观的用户界面组件
23 lines (22 loc) • 621 B
TypeScript
export type PropsOption = Partial<{
onClose: Function;
id: string;
message: string;
type: "warning" | "error" | "success" | "info";
iconClass: string;
center: boolean;
closable: boolean;
customClass: string;
duration: number;
offset: number;
useHtml: boolean;
}>;
declare function Message(option: string | PropsOption): void;
declare namespace Message {
var success: (message: string) => void;
var warning: (message: string) => void;
var info: (message: string) => void;
var error: (message: string) => void;
var closeAll: () => void;
}
export { Message };