UNPKG

@connectycube/chat-widget

Version:

A customizable React chat widget built on the ConnectyCube platform, enabling real-time messaging, calls, and user engagement in any web app.

10 lines 528 B
import { Chat } from '@connectycube/react'; type NotificationHook = { showNotification: (title?: string, body?: string, icon?: string) => Promise<Notification | void>; notifyWithSound: (title?: string, body?: string, icon?: string) => Promise<Notification | void>; notifyOnMessage: (userId: number, message: Chat.Message) => Promise<Notification | void>; playAudio: () => void; }; declare function useNotification(): NotificationHook; export default useNotification; //# sourceMappingURL=useNotification.d.ts.map