@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) • 528 B
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
exports.__esModule = true;
exports.default = void 0;
var _consts = require("../consts");
var _getSocialButtonTypeToken = _interopRequireDefault(require("./getSocialButtonTypeToken"));
const getSocialButtonIconForeground = ({
theme,
type
}) => ({
foreground: (0, _getSocialButtonTypeToken.default)(_consts.TOKENS.iconColor, type, theme)
});
var _default = getSocialButtonIconForeground;
exports.default = _default;