@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
53 lines • 3.94 kB
JavaScript
const _excluded = ["bold", "width", "height"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
import React from "react";
import PropTypes from "prop-types";
const IconVirus = props => {
const _props$bold = props.bold,
bold = _props$bold === void 0 ? true : _props$bold,
_props$width = props.width,
width = _props$width === void 0 ? "24px" : _props$width,
_props$height = props.height,
height = _props$height === void 0 ? "24px" : _props$height,
restProps = _objectWithoutPropertiesLoose(props, _excluded);
if (bold) {
return /*#__PURE__*/React.createElement("svg", _extends({
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
"aria-hidden": "true",
fill: "currentColor",
width: width,
height: height
}, restProps), /*#__PURE__*/React.createElement("g", {
"clip-path": "url(#a)"
}, /*#__PURE__*/React.createElement("path", {
d: "M10.125 12a1.875 1.875 0 1 1 0-3.75 1.875 1.875 0 0 1 0 3.75m5.625-1.874a1.875 1.875 0 1 0 0 3.75 1.875 1.875 0 0 0 0-3.75M12 13.876a1.875 1.875 0 1 0 0 3.75 1.875 1.875 0 0 0 0-3.75M23.625 12a1.125 1.125 0 0 1-1.125 1.125h-1.193a9.34 9.34 0 0 1-1.933 4.658l.922.92a1.127 1.127 0 0 1-1.594 1.594l-.92-.921a9.34 9.34 0 0 1-4.657 1.931V22.5a1.125 1.125 0 1 1-2.25 0v-1.192a9.34 9.34 0 0 1-4.658-1.933l-.921.921a1.126 1.126 0 0 1-1.838-1.228c.056-.136.14-.26.244-.365l.922-.92a9.34 9.34 0 0 1-1.932-4.658H1.5a1.125 1.125 0 1 1 0-2.25h1.192a9.34 9.34 0 0 1 1.934-4.658l-.922-.92a1.127 1.127 0 0 1 1.594-1.594l.92.921a9.34 9.34 0 0 1 4.657-1.931V1.5a1.125 1.125 0 0 1 2.25 0v1.193a9.34 9.34 0 0 1 4.658 1.933l.921-.921a1.127 1.127 0 0 1 1.594 1.593l-.922.92a9.34 9.34 0 0 1 1.931 4.658H22.5A1.125 1.125 0 0 1 23.625 12m-4.5 0A7.125 7.125 0 1 0 12 19.125a7.133 7.133 0 0 0 7.125-7.124"
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
id: "a"
}, /*#__PURE__*/React.createElement("path", {
d: "M0 0h24v24H0z"
}))));
}
return /*#__PURE__*/React.createElement("svg", _extends({
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
"aria-hidden": "true",
fill: "currentColor",
width: width,
height: height
}, restProps), /*#__PURE__*/React.createElement("path", {
d: "M12.75 10.125a2.625 2.625 0 1 0-5.25 0 2.625 2.625 0 0 0 5.25 0m-2.625 1.125a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25m6.375-.75a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-3 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m9-5.25h-1.532a8.96 8.96 0 0 0-2.099-5.058l1.162-1.161a.75.75 0 1 0-1.062-1.062l-1.157 1.162a8.96 8.96 0 0 0-5.062-2.1V1.5a.75.75 0 1 0-1.5 0v1.532A8.96 8.96 0 0 0 6.192 5.13L5.031 3.969a.75.75 0 1 0-1.062 1.062l1.162 1.161a8.96 8.96 0 0 0-2.1 5.063H1.5a.75.75 0 1 0 0 1.5h1.532a8.96 8.96 0 0 0 2.099 5.057L3.969 18.97a.75.75 0 1 0 1.062 1.062l1.161-1.162a8.96 8.96 0 0 0 5.063 2.1v1.53a.75.75 0 1 0 1.5 0v-1.532a8.96 8.96 0 0 0 5.057-2.099l1.162 1.162a.75.75 0 1 0 1.061-1.062l-1.166-1.157a8.96 8.96 0 0 0 2.1-5.062H22.5a.75.75 0 1 0 0-1.5M12 19.5a7.5 7.5 0 1 1 7.5-7.5 7.51 7.51 0 0 1-7.5 7.5"
}));
};
IconVirus.propTypes = process.env.NODE_ENV !== "production" ? {
bold: PropTypes.bool,
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
className: PropTypes.string,
fill: PropTypes.string,
'aria-hidden': PropTypes.bool,
'aria-label': PropTypes.string
} : {};
export { IconVirus as default };
IconVirus;