UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

20 lines 864 B
import { type ComponentType } from 'react'; import type { Coords } from 'stream-chat'; export type ShareGeolocationMapProps = Partial<Coords> & { loadingLocation: boolean; restartLocationWatching: () => void; geolocationPositionError?: GeolocationPositionError; }; export type ShareLocationDialogProps = { close: () => void; shareDurations?: number[]; GeolocationMap?: ComponentType<ShareGeolocationMapProps>; DurationDropdownItems?: ComponentType<DurationDropdownItemsProps>; }; export declare const ShareLocationDialog: ({ close, GeolocationMap, shareDurations, }: ShareLocationDialogProps) => import("react/jsx-runtime").JSX.Element; export type DurationDropdownItemsProps = { durations: number[]; selectedDuration?: number; selectDuration: (duration: number) => void; }; //# sourceMappingURL=ShareLocationDialog.d.ts.map