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.

23 lines (17 loc) 647 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _consts = require("../consts"); var _getSocialButtonTypeToken = _interopRequireDefault(require("./getSocialButtonTypeToken")); var getSocialButtonIconForeground = function getSocialButtonIconForeground(_ref) { var theme = _ref.theme, type = _ref.type; return { foreground: (0, _getSocialButtonTypeToken.default)(_consts.TOKENS.iconColor, type, theme) }; }; var _default = getSocialButtonIconForeground; exports.default = _default;