You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
512 B
25 lines
512 B
1 year ago
|
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;
|
||
|
}
|