@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) • 423 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _consts = require("../../consts");
const resolveFocusColor = ({
type,
theme,
selected
}) => {
if (!selected) return "";
return type === _consts.TYPES.LEGROOM ? theme.orbit.paletteBlueNormalHover : theme.orbit.paletteProductNormalHover;
};
var _default = resolveFocusColor;
exports.default = _default;