jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
23 lines (20 loc) • 1.66 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 SvgLaptopAnalyticsIcon = (_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: "laptop_analytics_svg__nc-icon-wrapper" },
React__default.createElement("path", { "data-color": "color-2", d: "M46 31a1 1 0 001-1v-9a1 1 0 00-1-1h-9a1 1 0 100 2h6.586L33 32.586l-7.293-7.293a.999.999 0 00-1.414 0l-8 8a.999.999 0 101.414 1.414L25 27.414l7.293 7.293a.997.997 0 001.414 0L45 23.414V30a1 1 0 001 1z" }),
React__default.createElement("path", { d: "M10 14c0-1.103.897-2 2-2h40c1.103 0 2 .897 2 2v29h4V14c0-3.309-2.691-6-6-6H12c-3.309 0-6 2.691-6 6v29h4V14zM62 45H40v3H24v-3H2a1 1 0 00-1 1c0 4.962 4.037 9 9 9h44c4.963 0 9-4.038 9-9a1 1 0 00-1-1z" }))));
};
const SvgLaptopAnalyticsStyle = (_a) => {
var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]);
return (React__default.createElement(SvgLaptopAnalyticsIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props)));
};
const LaptopAnalyticsIcon = withTheme(SvgLaptopAnalyticsStyle);
export { LaptopAnalyticsIcon };