短通知 + 上部消息

This commit is contained in:
limqhz
2022-12-12 18:05:49 +08:00
parent 44df516337
commit 0efe64d1bb
34 changed files with 1262 additions and 58 deletions

View File

@@ -0,0 +1,24 @@
export declare enum MessageType {
info = "info",
success = "success",
warning = "warning",
error = "error"
}
export interface MessageMarquee {
speed?: number;
loop?: number;
delay?: number;
}
export interface MessageProps {
visible?: boolean;
content: string;
align?: string;
theme?: MessageType;
icon?: boolean | string;
closeBtn?: boolean;
action?: string;
marquee?: MessageMarquee;
offset?: object;
duration?: number;
zIndex?: number;
}