Notifications: Permanent option and close button (#563)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
@ -54,6 +54,8 @@ export interface NotificationData {
|
||||
onClick?(): void;
|
||||
onClose?(): void;
|
||||
color?: string;
|
||||
/** Whether this notification should not have a timeout */
|
||||
permanent?: boolean;
|
||||
}
|
||||
|
||||
function _showNotification(notification: NotificationData, id: number) {
|
||||
|
Reference in New Issue
Block a user