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.

20 lines (16 loc) 445 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _consts = require("../../consts"); const resolveHoverColor = ({ theme, 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;