@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
53 lines • 3.46 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 IconLog = 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: "M20.25 13.876a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m3.375 0c0 3.995-2.141 7.124-4.875 7.124H5.25C2.516 21 .375 17.871.375 13.877.375 9.88 2.516 6.75 5.25 6.75h3.281l3.42-3.42A1.12 1.12 0 0 1 12.75 3h3a1.125 1.125 0 1 1 0 2.25h-2.531l-1.5 1.5h7.031c2.734 0 4.875 3.13 4.875 7.126M5.25 18.75h9.916a7.8 7.8 0 0 1-.852-1.875H7.5a1.125 1.125 0 1 1 0-2.25h6.4a11 11 0 0 1-.025-.75c0-1.903.487-3.609 1.29-4.875H5.25c-.736 0-1.522.705-2.04 1.876h6.54a1.125 1.125 0 1 1 0 2.25H2.658a9 9 0 0 0-.033.75c0 2.872 1.384 4.874 2.625 4.874m16.125-4.874C21.375 11.003 19.991 9 18.75 9s-2.625 2.003-2.625 4.876c0 2.872 1.384 4.874 2.625 4.874s2.625-2.002 2.625-4.874"
})), /*#__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: "M19.875 13.875a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0m3.375 0c0 3.785-1.976 6.75-4.5 6.75H5.25c-2.524 0-4.5-2.965-4.5-6.75s1.976-6.75 4.5-6.75h3.44l3.53-3.53a.75.75 0 0 1 .53-.22h3a.75.75 0 1 1 0 1.5h-2.69l-2.25 2.25h7.94c2.524 0 4.5 2.965 4.5 6.75m-18 5.25h10.642a6.9 6.9 0 0 1-1.188-2.25H7.5a.75.75 0 1 1 0-1.5h6.859a10 10 0 0 1-.109-1.5c0-2.143.634-4.022 1.642-5.25H5.25c-1.17 0-2.208 1.243-2.7 3h7.2a.75.75 0 1 1 0 1.5H2.283a9 9 0 0 0-.033.75c0 2.846 1.373 5.25 3 5.25m16.5-5.25c0-2.846-1.373-5.25-3-5.25s-3 2.404-3 5.25 1.373 5.25 3 5.25 3-2.404 3-5.25"
}));
};
IconLog.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 { IconLog as default };
IconLog;