UNPKG

@helpscout/hsds-react

Version:

React component library for Help Scout's Design System

10 lines (7 loc) 279 B
"use strict"; exports.__esModule = true; exports.isModifierKeyPressed = void 0; var isModifierKeyPressed = function isModifierKeyPressed(event) { return event.altKey || event.ctrlKey || event.metaKey || event.shiftKey; }; exports.isModifierKeyPressed = isModifierKeyPressed;