UNPKG

@lakshmiprasanth/react-voice-to-text

Version:

A modern React package for voice-to-text conversion with real-time speech recognition and file upload support

17 lines 584 B
import React from 'react'; import { SpeechRecognitionResult } from '../types'; interface VoiceToTextConverterProps { className?: string; showFileUpload?: boolean; showVoiceRecorder?: boolean; showResults?: boolean; defaultLanguage?: string; onResult?: (result: SpeechRecognitionResult) => void; onError?: (error: string) => void; onStart?: () => void; onStop?: () => void; children?: React.ReactNode; } export declare const VoiceToTextConverter: React.FC<VoiceToTextConverterProps>; export {}; //# sourceMappingURL=VoiceToTextConverter.d.ts.map