1.0.2 • Published 10 months ago

speech-to-text-wrapper v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Speech to Text Texinput

ts npm

Wrapper to transform any textinput into Speech-to-text Texinput

Description

With this wrapper, transform any text input to a Speech-to-text Textinput. This allows you to easily enable voice-based input functionality. You just need to wrap your text input like the following:

<SpeechtoTextWrapper>
   <TextInput />  {/* Your text input goes here */}
</SpeechtoTextWrapper>

Installation

Step 1: Install Dependencies

To get started, you'll need to install the following dependencies:

yarn add @react-native-voice/voice react-native-toast-message eventemitter3

Ensure you've linked @react-native-voice/voice by following the linking instructions here:! @react-native-voice/voice.

Step 2: Install the Speech-to-Text Wrapper

Next, install the speech-to-text-wrapper package:

yarn add speech-to-text-wrapper

You're done! Wohoo 🎉

Now, you can wrap any TextInput component with the SpeechtoTextWrapper and enjoy voice-based text input in your app!

Contact me at mohit.chawla@workmail.com

"Buy Me A Coffee"