From 9a351473f9869d3b9d67550f1c9836ae904926f5 Mon Sep 17 00:00:00 2001 From: Nicolas Ramz Date: Mon, 3 Dec 2018 21:05:01 +0100 Subject: [PATCH] FIXED: @HotkeyTarget -> @HotkeysTarget typo (#3208) --- 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.