@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
16 lines • 560 B
JavaScript
;
// (C) 2007-2020 GoodData Corporation
Object.defineProperty(exports, "__esModule", { value: true });
var SCREEN = "only screen";
var ZERO_BREAKPOINT = 0;
var SMALL_BREAKPOINT = 640;
var smallRange = {
lower: ZERO_BREAKPOINT,
upper: SMALL_BREAKPOINT,
};
var getQueryMatching = function (range) {
return SCREEN + " and (min-width:" + range.lower + "px) and (max-width:" + range.upper + "px)";
};
exports.mobileRange = smallRange;
exports.IS_MOBILE_DEVICE = getQueryMatching(exports.mobileRange);
//# sourceMappingURL=MediaQueries.js.map