stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines (13 loc) • 567 B
TypeScript
import React from 'react';
export declare const UNREAD_MESSAGE_SEPARATOR_CLASS = "str-chat__unread-messages-separator";
export type UnreadMessagesSeparatorProps = {
/**
* Configuration parameter to determine, whether the unread count is to be shown on the component. Disabled by default.
*/
showCount?: boolean;
/**
* The count of unread messages to be displayed if enabled.
*/
unreadCount?: number;
};
export declare const UnreadMessagesSeparator: ({ showCount, unreadCount, }: UnreadMessagesSeparatorProps) => React.JSX.Element;