UNPKG

tdesign-mobile-vue

Version:
31 lines (26 loc) 616 B
/** * tdesign v1.9.3 * (c) 2025 TDesign Group * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var calcSize = function calcSize(width) { var size = "xs"; if (width < 768) { size = "xs"; } else if (width >= 768 && width < 992) { size = "sm"; } else if (width >= 992 && width < 1200) { size = "md"; } else if (width >= 1200 && width < 1400) { size = "lg"; } else if (width >= 1400 && width < 1880) { size = "xl"; } else { size = "xxl"; } return size; }; exports.calcSize = calcSize; //# sourceMappingURL=responsive.js.map