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.

15 lines (14 loc) 404 B
"use strict"; exports.__esModule = 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;