Added icon prop

pull/1280/head^2
Cagatay Civici 2021-11-16 10:01:05 +03:00
parent 7a1a4a05d9
commit 2f9cee459b
2 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,12 @@ const MessageProps = [
type: "number",
default: "300",
description: "Delay in milliseconds to close the message automatically."
},
{
name: "icon",
type: "string",
default: "null",
description: "Display a custom icon for the message."
}
];

View File

@ -5,6 +5,7 @@ interface MessageProps {
closable?: boolean;
sticky?: boolean;
life?: number;
icon?: string;
}
declare class Message {