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.

Usage

const { openInAppNotification, closeInAppNotification, notifications } =
  useInAppNotificationsState();
© Getstream.io, Inc. All Rights Reserved.