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)

21 lines (18 loc) 1.26 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 SvgAddCircleIcon = (_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("path", { d: "M32 2a30 30 0 1030 30A30.026 30.026 0 0032 2zm18 33a.945.945 0 01-1 1H36v13a.945.945 0 01-1 1h-6a.945.945 0 01-1-1V36H15a.945.945 0 01-1-1v-6a.945.945 0 011-1h13V15a.945.945 0 011-1h6a.945.945 0 011 1v13h13a.945.945 0 011 1z" }))); }; const SvgAddCircleStyle = (_a) => { var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]); return (React__default.createElement(SvgAddCircleIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props))); }; const AddCircleIcon = withTheme(SvgAddCircleStyle); export { AddCircleIcon };