@bonsai-components/react-global-keys
Version:
A simple way to add global keys
8 lines • 400 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.reportKeyBindingConflict = void 0;
const reportKeyBindingConflict = (newKeyBinding) => {
console.error(`Error: Conflict with existing key binding when adding:\n ${JSON.stringify(newKeyBinding, null, 2)}`);
};
exports.reportKeyBindingConflict = reportKeyBindingConflict;
//# sourceMappingURL=error.helpers.js.map