react-life-design
Version:
Life Design UI components
37 lines • 2.24 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 Cost = styled_components_1.default.svg(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fill:none;\n stroke-miterlimit: 10;\n stroke-width: 2px;\n stroke: currentColor;\n stroke-linecap: square;\n"], ["\n fill:none;\n stroke-miterlimit: 10;\n stroke-width: 2px;\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(Cost, __assign({ xmlns: 'http://www.w3.org/2000/svg', width: width || 28, height: height || 26, viewBox: '0 0 28 26' }, props),
React.createElement("path", { className: "i-cost", d: "M21.59 25H6.14L1.357 9.574h25.016z" }),
React.createElement("path", { className: "i-cost", d: "M13.869 9.574V0M22.44 9.574l2.978-2.978a2.946 2.946 0 1 0-4.111-4.217L14.646 9.04a3.029 3.029 0 0 0-.429.534M21.452 6.62l-2.185-2.185M19.008 15.458H9.442" })));
});
var templateObject_1;
//# sourceMappingURL=Cost.js.map
;