jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
23 lines (20 loc) • 1.48 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 SvgCheckDoubleIcon = (_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: "check_double_svg__nc-icon-wrapper" },
React__default.createElement("path", { d: "M60.3 11.388L31.4 46.274l-4.652-4.651-1.922 2.32 5.617 5.618A1.5 1.5 0 0031.5 50h.07a1.5 1.5 0 001.085-.541L62.612 13.3z", "data-color": "color-2" }),
React__default.createElement("path", { d: "M16.5 50a1.5 1.5 0 01-1.061-.439L1.379 35.5 3.5 33.379l12.9 12.9 28.9-34.891 2.31 1.914-29.955 36.155A1.5 1.5 0 0116.57 50z" }))));
};
const SvgCheckDoubleStyle = (_a) => {
var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]);
return (React__default.createElement(SvgCheckDoubleIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props)));
};
const CheckDoubleIcon = withTheme(SvgCheckDoubleStyle);
export { CheckDoubleIcon };