UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

14 lines (13 loc) 578 B
import type { LiveLocationPreview, StaticLocationPreview } from 'stream-chat'; import type { ComponentType } from 'react'; import React from 'react'; type GeolocationPreviewImageProps = { location: StaticLocationPreview | LiveLocationPreview; }; export type GeolocationPreviewProps = { location: StaticLocationPreview | LiveLocationPreview; PreviewImage?: ComponentType<GeolocationPreviewImageProps>; remove?: () => void; }; export declare const GeolocationPreview: ({ location, PreviewImage, remove, }: GeolocationPreviewProps) => React.JSX.Element; export {};