Missing function editNotification(...) added.

See editNotification() description at https://github.com/igorprado/react-notification-system.
This commit is contained in:
Johan Isaksson
2018-03-19 14:51:13 +01:00
committed by GitHub
parent 9f4c751261
commit fc89e65611

View File

@@ -12,6 +12,7 @@ declare namespace NotificationSystem {
addNotification(notification: Notification): Notification;
removeNotification(uidOrNotification: number | string | Notification): void;
clearNotifications(): void;
editNotification(uidOrNotification: number | string | Notification, newNotification: Notification): void;
}
export type CallBackFunction = (notification: Notification) => void;