UNPKG

react-life-design

Version:
38 lines 2.29 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]]; return t; }; Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var styled_components_1 = require("styled-components"); var InvalidityIcon = styled_components_1.default.svg(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fill:none;\n stroke-miterlimit: 10;\n stroke-width: 1px;\n stroke: currentColor;\n"], ["\n fill:none;\n stroke-miterlimit: 10;\n stroke-width: 1px;\n stroke: currentColor;\n"]))); exports.default = React.memo(function (_a) { var width = _a.width, height = _a.height, color = _a.color, props = __rest(_a, ["width", "height", "color"]); return (React.createElement(InvalidityIcon, __assign({ xmlns: 'http://www.w3.org/2000/svg', width: width || 100, height: height || 80, viewBox: '0 0 40 45' }, props), React.createElement("g", { transform: 'translate(-12.6 -12.5)' }, React.createElement("ellipse", { className: 'icon', cx: '4.547', cy: '4.547', rx: '4.547', ry: '4.547', transform: 'translate(26.092 13.5)' }), React.createElement("path", { className: 'icon', d: 'M30.64 22.594v14.791h9.082l9.744 9.757M30.64 30.377h9.082M37.56 42.52a11.98 11.98 0 1 1-11.98-11.98' })))); }); var templateObject_1; //# sourceMappingURL=Invalidity.js.map