@kushki/suka-react-system-icons
Version:
React component for Suk'a system icons
56 lines (52 loc) • 3.07 kB
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
var WifiOff = forwardRef(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 ? 24 : _ref$size,
rest = _objectWithoutProperties(_ref, ["color", "size"]);
return /*#__PURE__*/React.createElement("svg", _extends({
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
viewBox: "0 0 24 24",
fill: "none",
stroke: color,
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}, rest), /*#__PURE__*/React.createElement("g", {
clipPath: "url(#clip0)"
}, /*#__PURE__*/React.createElement("path", {
d: "M1 1L23 23"
}), /*#__PURE__*/React.createElement("path", {
d: "M16.72 11.06C17.5391 11.4597 18.305 11.9603 19 12.55"
}), /*#__PURE__*/React.createElement("path", {
d: "M5 12.55C6.48208 11.3108 8.26587 10.4862 10.17 10.16"
}), /*#__PURE__*/React.createElement("path", {
d: "M10.71 5.04998C12.8524 4.87735 15.0076 5.13815 17.047 5.8168C19.0864 6.49546 20.9682 7.57806 22.58 8.99998"
}), /*#__PURE__*/React.createElement("path", {
d: "M1.42004 9C2.80721 7.77385 4.39774 6.79922 6.12004 6.12"
}), /*#__PURE__*/React.createElement("path", {
d: "M8.53003 16.11C9.54523 15.3888 10.7597 15.0013 12.005 15.0013C13.2504 15.0013 14.4648 15.3888 15.48 16.11"
}), /*#__PURE__*/React.createElement("path", {
d: "M12 20H12.01"
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clippath", {
id: "clip0"
}, /*#__PURE__*/React.createElement("rect", {
width: "24",
height: "24",
fill: "white"
}))));
});
WifiOff.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
WifiOff.displayName = 'WifiOff';
export default WifiOff;