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)}
+    
); };