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)

24 lines (21 loc) 1.69 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 SvgUserAddIcon = (_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: "user_add_svg__nc-icon-wrapper" }, React__default.createElement("path", { d: "M28 33c8.585 0 15-8.975 15-17 0-8.271-6.729-15-15-15S13 7.729 13 16c0 8.025 6.415 17 15 17z" }), React__default.createElement("path", { "data-color": "color-2", d: "M51 39c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5 13h-4v4a1 1 0 01-2 0v-4h-4a1 1 0 010-2h4v-4a1 1 0 012 0v4h4a1 1 0 010 2z" }), React__default.createElement("path", { d: "M37 51c0-4.263 1.912-8.074 4.917-10.642C38.142 39.561 33.525 39 28 39c-11.118 0-18.567 2.269-22.858 4.173A6.988 6.988 0 001 49.567V60a1 1 0 001 1h39.211A13.95 13.95 0 0137 51z" })))); }; const SvgUserAddStyle = (_a) => { var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]); return (React__default.createElement(SvgUserAddIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props))); }; const UserAddIcon = withTheme(SvgUserAddStyle); export { UserAddIcon };