@joker.front/ui
Version:
Joker-UI | Official native UI component library for Joker Framework. Minimalist design with full-scene components, responsive layout & dynamic interactions. Access dev docs, API references & real-world case studies on official site.
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 };