@scaleflex/icons
Version:
SVG icons as React components
25 lines • 1.11 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["color", "size"];
import React from 'react';
import { intrinsicComponent } from './utils/functions';
export var Slash = intrinsicComponent(function (_ref, 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,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "Slash",
ref: ref,
width: size,
height: size,
viewBox: "0 0 16 16",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
d: "M4.52807 15.0584L10.1557 0.441379C10.2586 0.176552 10.5161 0 10.803 0H10.8251C11.3106 0 11.6416 0.485518 11.4724 0.94161L5.82278 15.5586C5.7198 15.8234 5.46232 16 5.17543 16C4.68255 16 4.35152 15.5071 4.52807 15.0584V15.0584Z",
fill: color
}));
});
export default Slash;