![Codacy Badge](https://api.codacy.com/project/badge/Grade/6759438331b94413b9a741fbd2c9a01d)
React Speech Recognition Status
React component useful to display the speech recognition status
![](http://i.imgur.com/OIOiPw4.png)
Install
npm install react-speech-recognition-status
Requirements
NPM modules
>=react@15
>=react-dom@15
>=prop-types@15
Styles
font-awesome
has to be loaded
Usage
import SpeechRecognitionStatus from 'react-speech-recognition-status';
const SpeechRecognitionStatusComponent = <SpeechRecognitionStatus
contextName='Foo'
recording
final
text='hello world'
/>
Supported Options
contextName(string)
: Displays a label at the left of the transcriptionerror(bool)
: When is true
displays an error iconconnecting(bool)
: When is true
displays a connecting iconrecording(bool)
: When is true
displays a mic iconfinal(bool)
: When is true
adds a classname 'final'
to the text containertext(string)
: Displays the given transcription into the text containercompact(bool)
: When is true
displays compacted versionvolume(number)
: When recording
is true
the mic icon shows the volume level