jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
24 lines (21 loc) • 1.46 kB
JavaScript
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 SvgSearchContentIcon = (_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: "search-content_svg__nc-icon-wrapper", strokeLinecap: "square", strokeWidth: 4, fill: "none" },
React__default.createElement("path", { d: "M22 24H4M22 40H4M42 56H4M42 8H4" }),
React__default.createElement("circle", { "data-color": "color-2", cx: 42, cy: 32, r: 12 }),
React__default.createElement("path", { "data-color": "color-2", d: "M60 50l-9.515-9.515" }))));
};
const SvgSearchContentStyle = (_a) => {
var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]);
return (React__default.createElement(SvgSearchContentIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props)));
};
const SearchContentIcon = withTheme(SvgSearchContentStyle);
export { SearchContentIcon };