jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
31 lines (25 loc) • 2.48 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 SvgJobPerLinkIcon = (_a) => {
var { title, theme = null, titleId = '' } = _a, props = tslib_es6.__rest(_a, ["title", "theme", "titleId"]);
return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 64 64", width: "1em", height: "1em", "aria-labelledby": titleId }, props),
title ? React__default.createElement("title", { id: titleId }, title) : null,
React__default.createElement("g", { className: "job_per_link_svg__nc-icon-wrapper" },
React__default.createElement("path", { "data-color": "color-2", d: "M45 1.586V13h11.414z" }),
React__default.createElement("path", { d: "M44 15a1 1 0 01-1-1V1H9a2 2 0 00-2 2v58a2 2 0 002 2h46a2 2 0 002-2V15H44zm-8.464 26.192l-2.828 2.828c-3.509 3.509-9.219 3.509-12.728 0-3.509-3.509-3.509-9.219 0-12.728l2.828-2.828c3.509-3.509 9.219-3.509 12.728 0a8.944 8.944 0 012.448 4.565c-.564.461-1.2.781-1.872.955a6.958 6.958 0 00-1.99-4.105c-2.729-2.729-7.171-2.729-9.899 0l-2.828 2.828a7.008 7.008 0 000 9.899 7.008 7.008 0 009.899 0l2.498-2.498c.908.085 1.823.046 2.725-.094-.292.412-.613.81-.981 1.178zm8.485-8.485l-2.828 2.828c-3.509 3.509-9.219 3.509-12.728 0a8.944 8.944 0 01-2.448-4.565 4.887 4.887 0 011.872-.955 6.958 6.958 0 001.99 4.105 7.008 7.008 0 009.899 0l2.828-2.828c2.729-2.729 2.729-7.17 0-9.9-2.729-2.729-7.171-2.729-9.9 0l-2.498 2.498a11.053 11.053 0 00-2.725.094c.291-.412.612-.81.981-1.178l2.828-2.828c3.509-3.509 9.219-3.509 12.728 0 3.51 3.51 3.51 9.22.001 12.729z" }))));
};
const SvgJobPerLinkStyle = (_a) => {
var { color = 'currentColor', title } = _a, props = tslib_es6.__rest(_a, ["color", "title"]);
return (React__default.createElement(SvgJobPerLinkIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props)));
};
const JobPerLinkIcon = styled.withTheme(SvgJobPerLinkStyle);
exports.JobPerLinkIcon = JobPerLinkIcon;