package.src.index.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-hotkeys-hook Show documentation
Show all versions of react-hotkeys-hook Show documentation
React hook for handling keyboard shortcuts
The newest version!
import useHotkeys from './useHotkeys'
import type { Options, Keys, HotkeyCallback } from './types'
import { HotkeysProvider, useHotkeysContext } from './HotkeysProvider'
import { isHotkeyPressed } from './isHotkeyPressed'
import useRecordHotkeys from './useRecordHotkeys'
export {
useHotkeys,
useRecordHotkeys,
useHotkeysContext,
isHotkeyPressed,
HotkeysProvider,
Options,
Keys,
HotkeyCallback,
}