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)

31 lines (25 loc) 1.99 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js'); var React = require('react'); var React__default = _interopDefault(React); var styled = require('styled-components'); var styled__default = _interopDefault(styled); const getFillColor = (theme, color) => { return theme && theme.colors[color] ? theme.colors[color] : color; }; const SvgLaptopAnalyticsIcon = (_a) => { var { title, theme = null } = _a, props = tslib_es6.__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 = tslib_es6.__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 = styled.withTheme(SvgLaptopAnalyticsStyle); exports.LaptopAnalyticsIcon = LaptopAnalyticsIcon;