react-speaking-the-article

A React component to speaking the contents of an existing article on the page.

Usage no npm install needed!

<script type="module">
  import reactSpeakingTheArticle from 'https://cdn.skypack.dev/react-speaking-the-article';
</script>

README

React Speaking The Article Build Status Dependency Status Npm Package Version

A React component to speaking the contents of an existing article on the page.


Live Demo

Check here <3

Install

Via Node.js run the following:

$ npm i react-speaking-the-article --save

Basic Usage

import React from 'react';
import ReactDOM from 'react-dom';
import SpeakingTheArticle from 'react-speaking-the-article';

const Demo = () => (
  <SpeakingTheArticle />
);

Props

Attribute Type Default Description
lang String en-US What language will be spoken.
size String 90px The width and height of buttons.
fill String #575756 The color of buttons.
rate String 0.9 The rate of speech

Development

npm install
npm start

License

MIT © Cauê Alves