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 (15 loc) 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _consts = require("../../consts"); var resolveHoverColor = function resolveHoverColor(_ref) { var theme = _ref.theme, type = _ref.type; if (type === _consts.TYPES.UNAVAILABLE) return ""; if (type === _consts.TYPES.LEGROOM) return theme.orbit.paletteBlueLightHover; return theme.orbit.paletteProductLightHover; }; var _default = resolveHoverColor; exports.default = _default;