react-life-design
Version:
Life Design UI components
36 lines • 2.16 kB
JavaScript
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 DITIcon = 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 stroke-linecap:square;\n"], ["\n fill:none;\n stroke-miterlimit: 10;\n stroke-width: 1px;\n stroke: currentColor;\n stroke-linecap:square;\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(DITIcon, __assign({ xmlns: 'http://www.w3.org/2000/svg', width: width || 100, height: height || 80, viewBox: '0 0 55 45' }, props),
React.createElement("path", { className: 'icon', d: 'M37.56 4.082a10.174 10.174 0 0 1 13.942 14.82L28.007 42.397 1.414 15.804l14.39-14.39L27.99 13.597zM13.927 28.317V3.29m12.531 37.541V12.069m14.063 17.815H26.372m26.489-12.583H26.406' })));
});
var templateObject_1;
//# sourceMappingURL=Dit.js.map
;