Constructor
# <NotificationMenu />
This component is in charge of displaying the notification menu
Methods
# inner buildNotificationByType(notification)
Creates notification according to its type
Parameters:
Name | Type | Description |
---|---|---|
notification |
* |
# inner clearAllNotifications()
Clears all clearable notifications from user
# inner clearNotification(id)
Clears notification with given id
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
# inner mapNotifications()
Maps all notifications to their correct type