react-window-speech-synthesis

1.0.5 • Public • Published

react-window-speech-synthesis

React speech synthesis hook allows you Web Speech API.

Installation

npm install react-window-speech-synthesis
yarn add react-window-speech-synthesis

Usage

import useReactSpeechSynthesis from "react-window-speech-synthesis";
const [voices, speak, speechStatus] = useReactSpeechSynthesis();
useEffect(() => {
  speak(text, currentVoice);
}, []);

Readme

Keywords

none

Package Sidebar

Install

npm i react-window-speech-synthesis

Weekly Downloads

7

Version

1.0.5

License

none

Unpacked Size

5.51 kB

Total Files

3

Last publish

Collaborators

  • learnreactcode