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) 1.82 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 SvgJobPerTemplateIcon = (_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_template_svg__nc-icon-wrapper" }, React__default.createElement("path", { d: "M23 18H1v40a2 2 0 002 2h20V18zM8 26h6a1 1 0 110 2H8a1 1 0 110-2zm0 6h3a1 1 0 110 2H8a1 1 0 110-2zm0 6h6a1 1 0 110 2H8a1 1 0 110-2zm0 6h3a1 1 0 110 2H8a1 1 0 110-2zm6 8H8a1 1 0 110-2h6a1 1 0 110 2zM25 18v42h36a2 2 0 002-2V18H25zm14 14h8a1 1 0 110 2h-8a1 1 0 110-2zm-6-6h6a1 1 0 110 2h-6a1 1 0 110-2zm6 26h-6a1 1 0 110-2h6a1 1 0 110 2zm8-6h-8a1 1 0 110-2h8a1 1 0 110 2zm8-6H44a1 1 0 110-2h11a1 1 0 110 2z" }), React__default.createElement("path", { "data-color": "color-2", d: "M61 4H3a2 2 0 00-2 2v10h62V6a2 2 0 00-2-2zM7 12a2 2 0 11-.001-3.999A2 2 0 017 12zm7 0a2 2 0 11-.001-3.999A2 2 0 0114 12zm7 0a2 2 0 11-.001-3.999A2 2 0 0121 12z" })))); }; const SvgJobPerTemplateStyle = (_a) => { var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]); return (React__default.createElement(SvgJobPerTemplateIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props))); }; const JobPerTemplateIcon = withTheme(SvgJobPerTemplateStyle); export { JobPerTemplateIcon };