UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

19 lines (18 loc) 727 B
import { LiveLocationManager } from 'stream-chat'; import type { LiveLocationManagerConstructorParameters, StreamChat } from 'stream-chat'; /** * Checks whether the current browser is Safari. */ export declare const isSafari: () => boolean; /** * Checks whether the current browser is Firefox. */ export declare const isFirefox: () => boolean; /** * Checks whether the current browser is Google Chrome. */ export declare const isChrome: () => boolean; export declare const useLiveLocationSharingManager: ({ client, getDeviceId, watchLocation, }: Omit<LiveLocationManagerConstructorParameters, 'client' | 'getDeviceId'> & { client?: StreamChat | null; getDeviceId?: () => string; }) => LiveLocationManager | null;