Skip to content

Commit 84e8097

Browse files
authored
Made correction in a typo error
1 parent effc9f8 commit 84e8097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For form control elements, React provides with `onKeyDown`, `onKeyPress` and `on
8484

8585
The `handleKeys` prop accepts an array of key names. Key names and key alias free developers from dealing with numeric char codes and/or key codes and browser compatibility issues with `KeyboardEvent.code` and `KeyboardEvent.key`. (Ref: [JavaScript Madness: Keyboard Events](https://unixpapa.com/js/key.html))
8686

87-
- Key names are in **LOWER CASE** for consistency. `heandleKeys=['a']` will still handles key event for 'A' with caps lock on.
87+
- Key names are in **LOWER CASE** for consistency. `handleKeys=['a']` will still handles key event for 'A' with caps lock on.
8888
- To handle combined keys like `shift` and `a`, use key names in the format of `shift+a`;
8989
- You can also use key name alias like 'numbers' or 'alphanumeric'.
9090

0 commit comments

Comments
 (0)