react-life-design
Version:
Life Design UI components
20 lines • 1.54 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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var styled_components_1 = require("styled-components");
var Colors_1 = require("../Colors");
var Sizes_1 = require("../Sizes");
var GiftIcon = styled_components_1.default.svg(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n & .a {\n fill: none;\n stroke: ", ";\n stroke-miterlimit: 10;\n stroke-width: 3px;\n }\n"], ["\n & .a {\n fill: none;\n stroke: ", ";\n stroke-miterlimit: 10;\n stroke-width: 3px;\n }\n"])), Colors_1.default.mongeral);
exports.default = React.memo(function (_a) {
var width = _a.width, height = _a.height;
return (React.createElement(GiftIcon, { viewBox: '0 0 44 44', width: width || Sizes_1.default.s5, height: height || Sizes_1.default.s5 },
React.createElement("path", { className: 'a', d: 'M22.003 11.131V42.5M5.134 20.786h33.732V42.5H5.134zM26.75 11.154h4.827a4.827 4.827 0 1 0 0-9.653H26.75a4.827 4.827 0 1 0 0 9.653z' }),
React.createElement("path", { className: 'a', d: 'M17.19 1.501h-4.827a4.827 4.827 0 1 0 0 9.653h4.827a4.827 4.827 0 1 0 0-9.653z' }),
React.createElement("path", { className: 'a', d: 'M1.5 11.145h41v9.657h-41z' })));
});
var templateObject_1;
//# sourceMappingURL=GiftBox.js.map
;