1.0.1 • Published 8 years ago
react-speaking-the-article v1.0.1
React Speaking The Article
A React component to speaking the contents of an existing article on the page.
Live Demo
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