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.