From 2cdb09e8656bc40fed28d8f5750a1930bdfa3f4f Mon Sep 17 00:00:00 2001 From: streamich Date: Sun, 28 Oct 2018 11:28:56 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20improve=20useSpeec?= =?UTF-8?q?h=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- docs/useSpeech.md | 4 +++- src/__stories__/useSpeech.story.tsx | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6bbddad0..0c6ce576 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@
- [__UI__](./docs/UI.md) - [`useAudio`](./docs/useAudio.md) — plays audio and exposes its controls. - - [`useSpeech`](./docs/useSpeech.md) — synthesizes speech from text string. + - [`useSpeech`](./docs/useSpeech.md) — synthesizes speech from a text string.

- [__Animations__](./docs/Animations.md) diff --git a/docs/useSpeech.md b/docs/useSpeech.md index 4af79c63..f94628fe 100644 --- a/docs/useSpeech.md +++ b/docs/useSpeech.md @@ -12,7 +12,9 @@ const Demo = () => { const state = useSpeech('Hello world!'); return ( -
{JSON.stringify(state, null, 2)}
+
+      {JSON.stringify(state, null, 2)}
+    
); }; ``` diff --git a/src/__stories__/useSpeech.story.tsx b/src/__stories__/useSpeech.story.tsx index 7433cfad..c507d214 100644 --- a/src/__stories__/useSpeech.story.tsx +++ b/src/__stories__/useSpeech.story.tsx @@ -6,7 +6,9 @@ const Demo = () => { const state = useSpeech('Hello world!'); return ( -
{JSON.stringify(state, null, 2)}
+
+      {JSON.stringify(state, null, 2)}
+    
); };