@scaleflex/icons
Version:
SVG icons as React components
28 lines • 2.38 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["color", "size", "ref"];
import React from 'react';
export var Label = function Label(_ref) {
var _ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
_ref$size = _ref.size,
size = _ref$size === void 0 ? 14 : _ref$size,
ref = _ref.ref,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "Label",
ref: ref,
width: size,
height: size,
viewBox: "0 0 50 50",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
d: "M39.8566 28.668C39.8566 27.7459 39.5492 26.9262 38.832 26.3115L20.082 7.45902C19.3648 6.7418 18.5451 6.22951 17.418 5.71721C16.291 5.20492 15.2664 5 14.3443 5H3.38114C2.459 5 1.63934 5.30738 1.02459 6.02459C0.307377 6.7418 0 7.45902 0 8.38115V19.3443C0 20.2664 0.204931 21.291 0.717226 22.418C1.22952 23.5451 1.7418 24.4672 2.45901 25.082L21.3115 43.9344C21.9262 44.5492 22.7459 44.959 23.668 44.959C24.5902 44.959 25.4098 44.6516 26.0246 43.9344L38.9344 31.0246C39.5492 30.4098 39.8566 29.5902 39.8566 28.668ZM10.8607 15.8607C10.2459 16.4754 9.42622 16.8852 8.50409 16.8852C7.58196 16.8852 6.7623 16.5779 6.14754 15.8607C5.53279 15.2459 5.12295 14.4262 5.12295 13.5041C5.12295 12.582 5.43033 11.7623 6.14754 11.1475C6.7623 10.5328 7.58196 10.123 8.50409 10.123C9.42622 10.123 10.2459 10.4303 10.8607 11.1475C11.4754 11.7623 11.8853 12.582 11.8853 13.5041C11.7828 14.4262 11.4754 15.2459 10.8607 15.8607Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M49.0779 26.209L30.2254 7.45902C29.5082 6.7418 28.6885 6.22951 27.5615 5.71721C26.4344 5.20492 25.4098 5 24.4877 5H18.5451C19.4672 5 20.4918 5.20492 21.6189 5.71721C22.7459 6.22951 23.6681 6.7418 24.2828 7.45902L43.1353 26.209C43.75 26.9262 44.1599 27.6434 44.1599 28.5656C44.1599 29.4877 43.8525 30.3074 43.1353 30.9221L30.7377 43.3197C31.25 43.832 31.7623 44.2418 32.1721 44.5492C32.582 44.7541 33.0943 44.959 33.709 44.959C34.6311 44.959 35.4508 44.6516 36.0656 43.9344L48.9754 31.0246C49.5902 30.4098 50 29.5902 50 28.668C50 27.7459 49.6926 26.9262 49.0779 26.209Z",
fill: color
}));
};
export default Label;