Skip to content

Commit

Permalink
docs: ✏️ improve useSpeech docs
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Oct 28, 2018
1 parent 3b971a2 commit 2cdb09e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<br/>
- [__UI__](./docs/UI.md)
- [`useAudio`](./docs/useAudio.md) &mdash; plays audio and exposes its controls.
- [`useSpeech`](./docs/useSpeech.md) &mdash; synthesizes speech from text string.
- [`useSpeech`](./docs/useSpeech.md) &mdash; synthesizes speech from a text string.
<br/>
<br/>
- [__Animations__](./docs/Animations.md)
Expand Down
4 changes: 3 additions & 1 deletion docs/useSpeech.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const Demo = () => {
const state = useSpeech('Hello world!');

return (
<pre>{JSON.stringify(state, null, 2)}</pre>
<pre>
{JSON.stringify(state, null, 2)}
</pre>
);
};
```
4 changes: 3 additions & 1 deletion src/__stories__/useSpeech.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const Demo = () => {
const state = useSpeech('Hello world!');

return (
<pre>{JSON.stringify(state, null, 2)}</pre>
<pre>
{JSON.stringify(state, null, 2)}
</pre>
);
};

Expand Down

0 comments on commit 2cdb09e

Please sign in to comment.