UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

23 lines (20 loc) 2.1 kB
import { __rest } from '../../node_modules/tslib/tslib.es6.js'; import React__default from 'react'; import { withTheme } from 'styled-components'; const getFillColor = (theme, color) => { return theme && theme.colors[color] ? theme.colors[color] : color; }; const SvgJobPerLinkIcon = (_a) => { var { title, theme = null } = _a, props = __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("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 = __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 = withTheme(SvgJobPerLinkStyle); export { JobPerLinkIcon };