UNPKG

@mantine/spotlight

Version:

Command center components for react and Mantine

13 lines (12 loc) 468 B
"use client"; const require_spotlight_store = require("./spotlight.store.cjs"); //#region packages/@mantine/spotlight/src/get-hotkeys.ts function getHotkeys(hotkeys, store) { if (!hotkeys) return []; const open = () => require_spotlight_store.spotlightActions.open(store); if (Array.isArray(hotkeys)) return hotkeys.map((hotkey) => [hotkey, open]); return [[hotkeys, open]]; } //#endregion exports.getHotkeys = getHotkeys; //# sourceMappingURL=get-hotkeys.cjs.map