jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
29 lines (23 loc) • 1.49 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js');
var React = require('react');
var React__default = _interopDefault(React);
var styled = require('styled-components');
var styled__default = _interopDefault(styled);
const getFillColor = (theme, color) => {
return theme && theme.colors[color] ? theme.colors[color] : color;
};
const SvgArrowLongRightIcon = (_a) => {
var { title, theme = null } = _a, props = tslib_es6.__rest(_a, ["title", "theme"]);
return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 64 64", width: "1em", height: "1em" }, props),
title ? React__default.createElement("title", null, title) : null,
React__default.createElement("path", { d: "M42 11.171L39.172 14l16 16H2v4h53.172l-16 16L42 52.829l19.414-19.415a2 2 0 000-2.828L42 11.171z" })));
};
const SvgArrowLongRightStyle = (_a) => {
var { color = 'currentColor', title } = _a, props = tslib_es6.__rest(_a, ["color", "title"]);
return (React__default.createElement(SvgArrowLongRightIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props)));
};
const ArrowLongRightIcon = styled.withTheme(SvgArrowLongRightStyle);
exports.ArrowLongRightIcon = ArrowLongRightIcon;