UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

7 lines 530 B
import type { Attachment } from 'stream-chat'; import type { DefaultStreamChatGenerics } from '../../types/types'; export declare type FileAttachmentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = { attachment: Attachment<StreamChatGenerics>; }; export declare const FileAttachment: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ attachment, }: FileAttachmentProps<StreamChatGenerics>) => JSX.Element; //# sourceMappingURL=FileAttachment.d.ts.map