@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 2.68 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 IconMicroscope = 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("path", {
d: "M21 19.876h-1.125a8.635 8.635 0 0 0-6-13.427V3.75A1.875 1.875 0 0 0 12 1.875H7.5A1.875 1.875 0 0 0 5.625 3.75v9A1.875 1.875 0 0 0 7.5 14.626H12a1.875 1.875 0 0 0 1.875-1.875V8.727A6.384 6.384 0 0 1 19.125 15a6.32 6.32 0 0 1-2.267 4.874H3a1.125 1.125 0 1 0 0 2.25h18a1.125 1.125 0 1 0 0-2.25m-9.375-7.5h-3.75v-8.25h3.75zm-4.875 6a1.125 1.125 0 1 1 0-2.25h6a1.125 1.125 0 1 1 0 2.25z"
}));
}
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: "M21 20.25h-1.88A8.255 8.255 0 0 0 13.5 6.785V3.75a1.5 1.5 0 0 0-1.5-1.5H7.5A1.5 1.5 0 0 0 6 3.75v9.75A1.5 1.5 0 0 0 7.5 15H12a1.5 1.5 0 0 0 1.5-1.5V8.293a6.75 6.75 0 0 1 3.492 11.957H3a.75.75 0 1 0 0 1.5h18a.75.75 0 1 0 0-1.5m-9-6.75H7.5V3.75H12zM6.75 18a.75.75 0 1 1 0-1.5h6a.75.75 0 1 1 0 1.5z"
}));
};
IconMicroscope.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 { IconMicroscope as default };
IconMicroscope;