@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.06 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 IconBulldozer = 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 25 24",
xmlns: "http://www.w3.org/2000/svg",
"aria-hidden": "true",
fill: "currentColor",
width: width,
height: height
}, restProps), /*#__PURE__*/React.createElement("path", {
d: "M22.874 18.375h-.75a.375.375 0 0 1-.375-.375v-3a.375.375 0 0 1 .375-.375h.75a1.125 1.125 0 1 0 0-2.25h-.75A2.625 2.625 0 0 0 19.499 15v.375h-.908a4.14 4.14 0 0 0-3.187-2.925l-3.3-7.92a1.875 1.875 0 0 0-1.73-1.155H2.249A1.875 1.875 0 0 0 .374 5.25v9.534a4.125 4.125 0 0 0 3.75 5.841h10.5a4.13 4.13 0 0 0 3.967-3h.908V18a2.625 2.625 0 0 0 2.625 2.625h.75a1.125 1.125 0 1 0 0-2.25m-9.938-6H6.374v-6.75h3.75zm-8.812-6.75v6.75c-.513 0-1.022.095-1.5.281V5.625zm10.5 12.75h-10.5a1.875 1.875 0 1 1 0-3.75h10.5a1.875 1.875 0 1 1 0 3.75"
}));
}
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: "M23.25 18.75h-.75a.75.75 0 0 1-.75-.75v-3a.75.75 0 0 1 .75-.75h.75a.75.75 0 1 0 0-1.5h-.75A2.25 2.25 0 0 0 20.25 15v.75h-1.575a3.76 3.76 0 0 0-3.16-2.963l-3.38-8.114a1.5 1.5 0 0 0-1.385-.923h-8.5a1.5 1.5 0 0 0-1.5 1.5v9a3.75 3.75 0 0 0 3 6H15a3.76 3.76 0 0 0 3.675-3h1.575V18a2.25 2.25 0 0 0 2.25 2.25h.75a.75.75 0 1 0 0-1.5m-9.375-6H6v-7.5h4.75zM4.5 5.25v7.5h-.75c-.516 0-1.027.107-1.5.314V5.25zM15 18.75H3.75a2.25 2.25 0 0 1 0-4.5H15a2.25 2.25 0 0 1 0 4.5m.75-2.25a.75.75 0 0 1-.75.75H3.75a.75.75 0 1 1 0-1.5H15a.75.75 0 0 1 .75.75"
}));
};
IconBulldozer.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 { IconBulldozer as default };
IconBulldozer;