@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
65 lines (63 loc) • 3.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) {
if (typeof WeakMap !== "function") return null;
var cacheBabelInterop = new WeakMap();
var cacheNodeInterop = new WeakMap();
return (_getRequireWildcardCache = function(nodeInterop) {
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
})(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
if (!nodeInterop && obj && obj.__esModule) {
return obj;
}
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
return {
default: obj
};
}
var cache = _getRequireWildcardCache(nodeInterop);
if (cache && cache.has(obj)) {
return cache.get(obj);
}
var newObj = {};
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
for(var key in obj){
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
if (desc && (desc.get || desc.set)) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
newObj.default = obj;
if (cache) {
cache.set(obj, newObj);
}
return newObj;
}
const Strikethrough = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 36 36",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("g", {
fill: "currentColor"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M36 16.5188H20.934C20.268 16.3397 19.5989 16.1722 18.927 16.0163C14.715 15.0203 12.333 14.2913 12.333 10.8818C12.2988 10.2933 12.3859 9.70393 12.589 9.15044C12.7921 8.59695 13.1068 8.09111 13.5135 7.66432C14.7876 6.61658 16.3835 6.03924 18.033 6.02932C22.278 5.92432 24.2355 7.36432 25.836 9.55432L28.2585 7.78432C27.1245 6.15586 25.5786 4.8576 23.7787 4.02219C21.9787 3.18677 19.9892 2.84415 18.0135 3.02932C15.5865 3.04482 13.2453 3.92864 11.4135 5.52082C10.7192 6.22507 10.1766 7.06407 9.81901 7.9861C9.46145 8.90812 9.29655 9.89362 9.3345 10.8818C9.26872 11.9632 9.47185 13.0439 9.92572 14.0276C10.3796 15.0113 11.0701 15.8672 11.9355 16.5188H0V19.5188H20.478C23.4285 20.3738 25.1925 21.4868 25.2375 24.5558C25.2863 25.2114 25.1963 25.8699 24.9735 26.4884C24.7507 27.1068 24.4001 27.6714 23.9445 28.1453C22.3572 29.3965 20.3852 30.0586 18.3645 30.0188C16.8563 29.9751 15.3777 29.589 14.0407 28.8897C12.7037 28.1904 11.5432 27.1962 10.647 25.9823L8.3475 27.9083C9.51259 29.461 11.0158 30.7281 12.7433 31.6135C14.4708 32.499 16.3772 32.9795 18.318 33.0188H18.468C21.2382 33.0506 23.9268 32.0818 26.04 30.2903C26.79 29.5341 27.3731 28.6291 27.7516 27.6336C28.1301 26.6381 28.2956 25.5743 28.2375 24.5108C28.2935 22.6917 27.6796 20.9153 26.5125 19.5188H36V16.5188Z"
})));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(Strikethrough);
const _default = ForwardRef;