@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
8 lines (7 loc) • 311 B
TypeScript
/**
* Returns the total number of unread messages across all conversations.
* Initialized from the server on ChatProvider mount — accurate before the
* conversation list is ever loaded. Kept in sync via socket events.
*/
declare function useTotalUnreadCount(): number;
export default useTotalUnreadCount;