stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines • 784 B
TypeScript
import type { Notification } from 'stream-chat';
export type NotificationAnnouncementBuilderParams = {
defaultMessage: string;
notification: Notification;
translatedMessage: string;
};
export type NotificationAnnouncementBuilder = (params: NotificationAnnouncementBuilderParams) => string;
export type NotificationAnnouncementFilter = (notification: Notification) => boolean;
export type NotificationAnnouncerProps = {
buildNotificationAnnouncement?: NotificationAnnouncementBuilder;
notificationFilter?: NotificationAnnouncementFilter;
};
export declare const NotificationAnnouncer: ({ buildNotificationAnnouncement, notificationFilter, }: NotificationAnnouncerProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=NotificationAnnouncer.d.ts.map