react-life-design
Version:
Life Design UI components
19 lines • 1.34 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 PencilIcon = styled_components_1.default.svg(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .st0 {\n fill: none;\n stroke: ", ";\n stroke-miterlimit: ", ";\n stroke-width: 2px;\n }\n"], ["\n .st0 {\n fill: none;\n stroke: ", ";\n stroke-miterlimit: ", ";\n stroke-width: 2px;\n }\n"])), Colors_1.default.mongeral, Sizes_1.default.s2);
exports.default = React.memo(function (_a) {
var width = _a.width, height = _a.height;
return (React.createElement(PencilIcon, { viewBox: '0 0 28 28', width: width || Sizes_1.default.s5, height: height || Sizes_1.default.s5 },
React.createElement("path", { className: 'st0', d: 'M4.3 18.2l-2.8 8.3 8.3-2.8L26.5 7 21 1.5z' }),
React.createElement("path", { className: 'st0', d: 'M4.3 18.2l5.5 5.5' })));
});
var templateObject_1;
//# sourceMappingURL=Pencil.js.map
;