1.2.8 • Published 6 years ago

react-speech-recognition-status v1.2.8

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Build Status Coverage Status Codacy Badge

React Speech Recognition Status

React component useful to display the speech recognition status

npm.io

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 transcription
  • error(bool): When is true displays an error icon
  • connecting(bool): When is true displays a connecting icon
  • recording(bool): When is true displays a mic icon
  • final(bool): When is true adds a classname 'final' to the text container
  • text(string): Displays the given transcription into the text container
  • compact(bool): When is true displays compacted version
  • volume(number): When recording is true the mic icon shows the volume level
1.2.8

6 years ago

1.2.7

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago