@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.
22 lines (18 loc) • 655 B
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _consts = require("../../utils/layout/consts");
const getSpacing = ({
theme
}) => ({
[_consts.SPACINGS.XXXSMALL]: theme.orbit.spaceXXXSmall,
[_consts.SPACINGS.XXSMALL]: theme.orbit.spaceXXSmall,
[_consts.SPACINGS.XSMALL]: theme.orbit.spaceXSmall,
[_consts.SPACINGS.SMALL]: theme.orbit.spaceSmall,
[_consts.SPACINGS.MEDIUM]: theme.orbit.spaceMedium,
[_consts.SPACINGS.LARGE]: theme.orbit.spaceLarge,
[_consts.SPACINGS.XLARGE]: theme.orbit.spaceXLarge,
[_consts.SPACINGS.XXLARGE]: theme.orbit.spaceXXLarge
});
var _default = getSpacing;
exports.default = _default;