UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

19 lines (13 loc) 966 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _consts = require("../consts"); function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } var getMobileSpacing = function getMobileSpacing() { var _ref; return _ref = {}, _defineProperty(_ref, _consts.SPACINGS.EXTRATIGHT, "2px"), _defineProperty(_ref, _consts.SPACINGS.TIGHT, "4px"), _defineProperty(_ref, _consts.SPACINGS.CONDENSED, "8px"), _defineProperty(_ref, _consts.SPACINGS.COMPACT, "12px"), _defineProperty(_ref, _consts.SPACINGS.NATURAL, "16px"), _defineProperty(_ref, _consts.SPACINGS.COMFY, "20px"), _defineProperty(_ref, _consts.SPACINGS.LOOSE, "28px"), _defineProperty(_ref, _consts.SPACINGS.EXTRALOOSE, "36px"), _ref; }; var _default = getMobileSpacing; exports.default = _default;