UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

6 lines (5 loc) 347 B
import { getHotkeyHandler, HotkeyItemOptions } from './parse-hotkey'; export type { HotkeyItemOptions }; export { getHotkeyHandler }; export type HotkeyItem = [string, (event: KeyboardEvent) => void, HotkeyItemOptions?]; export declare function useHotkeys(hotkeys: HotkeyItem[], tagsToIgnore?: string[], triggerOnContentEditable?: boolean): void;