stream-chat-react
Version:
React components to create chat conversations or livestream style chat
6 lines (5 loc) • 468 B
TypeScript
import React from 'react';
import type { LocalVoiceRecordingAttachment } from 'stream-chat';
import type { UploadAttachmentPreviewProps } from './types';
export type VoiceRecordingPreviewProps<CustomLocalMetadata = Record<string, unknown>> = UploadAttachmentPreviewProps<LocalVoiceRecordingAttachment<CustomLocalMetadata>>;
export declare const VoiceRecordingPreview: ({ attachment, handleRetry, removeAttachments, }: VoiceRecordingPreviewProps) => React.JSX.Element;