stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines (13 loc) • 651 B
TypeScript
import type { ComponentType } from 'react';
import React from 'react';
import type { Coords, SharedLocationResponse } from 'stream-chat';
export type GeolocationMapProps = Coords;
export type GeolocationProps = {
location: SharedLocationResponse;
GeolocationAttachmentMapPlaceholder?: ComponentType<GeolocationAttachmentMapPlaceholderProps>;
GeolocationMap?: ComponentType<GeolocationMapProps>;
};
export declare const Geolocation: ({ GeolocationAttachmentMapPlaceholder, GeolocationMap, location, }: GeolocationProps) => React.JSX.Element;
export type GeolocationAttachmentMapPlaceholderProps = {
location: SharedLocationResponse;
};