@scaleflex/icons
Version:
SVG icons as React components
33 lines • 1.96 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 Eraser = function Eraser(_ref) {
var _ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
_ref$size = _ref.size,
size = _ref$size === void 0 ? 20 : _ref$size,
ref = _ref.ref,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "Eraser",
ref: ref,
width: size,
height: size,
viewBox: "0 0 20 20",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("g", {
clipPath: "url(#clip0_23812_18021)"
}, /*#__PURE__*/React.createElement("path", {
d: "M19.3319 5.41083C17.7499 3.8288 16.1679 2.24677 14.5858 0.66864C14.4179 0.500671 14.2304 0.35614 14.0233 0.242859C13.1835 -0.198547 12.2655 -0.0149535 11.5273 0.723328C9.69913 2.55145 7.871 4.37958 6.03897 6.21161C4.24991 8.00067 2.46085 9.78973 0.671785 11.5788C-0.179778 12.4343 -0.238372 13.6647 0.574128 14.4929C2.20694 16.153 3.86319 17.7936 5.51553 19.4382C5.87491 19.7975 6.36319 20.0007 6.87491 19.9968C7.52725 19.9929 8.02725 19.735 8.45303 19.3054C12.0741 15.6804 15.6991 12.0554 19.3241 8.43036C20.2265 7.53192 20.2226 6.30145 19.3319 5.41083ZM7.42178 18.1218C7.01944 18.5241 6.82022 18.528 6.42178 18.1335L1.88272 13.5944C1.46475 13.1765 1.46866 12.9968 1.88663 12.5788C3.13663 11.3288 5.77335 8.69989 5.83585 8.6413L11.371 14.1765L10.7694 14.778C9.65225 15.8874 8.53506 17.0046 7.42178 18.1218Z",
fill: color
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
id: "clip0_23812_18021"
}, /*#__PURE__*/React.createElement("rect", {
width: size,
height: size,
fill: color
}))));
};
export default Eraser;