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.

21 lines (14 loc) 1.05 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); var _consts = require("../consts"); var getMobileSpacing = function getMobileSpacing() { var _ref; return _ref = {}, (0, _defineProperty2.default)(_ref, _consts.SPACINGS.EXTRATIGHT, "2px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.TIGHT, "4px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.CONDENSED, "8px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.COMPACT, "12px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.NATURAL, "16px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.COMFY, "20px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.LOOSE, "28px"), (0, _defineProperty2.default)(_ref, _consts.SPACINGS.EXTRALOOSE, "36px"), _ref; }; var _default = getMobileSpacing; exports.default = _default;