From 285048c37851ade398d272fd2b392de253388d0d Mon Sep 17 00:00:00 2001 From: Nicolas Ramz Date: Mon, 3 Dec 2018 11:09:06 +0100 Subject: [PATCH] FIXED: @HotkeyTarget -> @HotkeysTarget typo --- packages/core/src/components/hotkeys/hotkeys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/hotkeys/hotkeys.md b/packages/core/src/components/hotkeys/hotkeys.md index e31a42b7c5..18248d3133 100644 --- a/packages/core/src/components/hotkeys/hotkeys.md +++ b/packages/core/src/components/hotkeys/hotkeys.md @@ -2,7 +2,7 @@ Hotkeys enable you to create interactions based on user keyboard events. -To add hotkeys to your React component, use the `@HotkeyTarget` class decorator +To add hotkeys to your React component, use the `@HotkeysTarget` class decorator and add a `renderHotkeys()` method. The decorator will call `renderHotkeys()` and attach the appropriate key listeners.