Files
klz-cables.com/.pnpm-store/v10/files/57/19f81857beeab55b8801c30a82fe2b81142dffa3b0596de342fe6d351d874c027d28a1d0a7139f7f54c787cd3455cdc2210a74770cdd4b8ca05be347f3b838
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

13 lines
629 B
Plaintext

/**
* Hook function to work with hotkeys.
* @param param0.keyCode {string[]} The keys to listen for (`Event.code` without `'Key'` and lowercased)
* @param param0.cmdCtrlKey {boolean} Whether Ctrl on windows or Cmd on mac must be pressed
* @param param0.editDepth {boolean} This ensures that the hotkey is only triggered for the most top-level drawer in case there are nested drawers
* @param func The callback function
*/
export declare const useHotkey: (options: {
cmdCtrlKey: boolean;
editDepth: number;
keyCodes: string[];
}, func: (e: KeyboardEvent) => void) => void;
//# sourceMappingURL=useHotkey.d.ts.map