This hook provides unSeenCount, markAllSeen which is related to the Bell icon in the inboxunSeenCount: Use this variable to show the unseen notification count anywhere in your application. markAllSeen: Used to mark seen for all notifications. Call this method on clicking the bell icon so that it will reset the notification count to 0.
This hook provides a notifications list, unSeenCount, markClicked, and markAllSeen.notifications: List of all notifications. This array can be looped and notifications can be displayed. unSeenCount: Use this variable to show the unseen notification count anywhere in your application. markClicked: Method used to mark a notification as clicked. Pass notification id which is clicked as the first param.