From 6655558ed91ccdedfd25287d0aaebcf6e6be5a73 Mon Sep 17 00:00:00 2001 From: Gavin Gregory Date: Sun, 10 Feb 2019 12:08:27 -0500 Subject: [PATCH] docs(useKeyPress): renamed keyboardjs -> useKeyboardJS --- docs/useKeyPress.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/useKeyPress.md b/docs/useKeyPress.md index f5df1a14..5542c80c 100644 --- a/docs/useKeyPress.md +++ b/docs/useKeyPress.md @@ -3,9 +3,9 @@ React UI sensor hook that detects when the user is pressing a specific key on their keyboard. -Complex bindings like detecting when multiple keys are held down at the same -time or requiring them to be held down in a specified order are also available -via [KeyboardJS key combos](https://github.com/RobertWHurst/KeyboardJS). +Complex bindings like detecting when multiple keys are held down at the same +time or requiring them to be held down in a specified order are also available +via [KeyboardJS key combos](https://github.com/RobertWHurst/KeyboardJS). Check its documentation for further details on how to make combo strings. ## Usage @@ -21,7 +21,7 @@ const Demo = () => { const hasPressedT = useKeyPress("t"); const hasPressedY = useKeyPress("y"); const hasPressedWord = useKeyPress("q + w + e + r + t + y", { - keyboardjs: true + useKeyboardJS: true }); return (