const { openInAppNotification, closeInAppNotification, notifications } =
useInAppNotificationsState();useInAppNotificationsState
The useInAppNotificationsState hook is used to manage the state of the in-app notifications. It is used to open and close the notifications and to get the list of the notifications.