UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.09 kB
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 IconTruck = 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: "m23.357 9.707-1.313-3.281a1.86 1.86 0 0 0-1.74-1.176h-2.491v-.375a1.125 1.125 0 0 0-1.125-1.125H2.438A1.875 1.875 0 0 0 .562 5.625v10.5A1.875 1.875 0 0 0 2.439 18h1.318a3.375 3.375 0 0 0 6.363 0h4.137a3.375 3.375 0 0 0 6.363 0h.944a1.875 1.875 0 0 0 1.875-1.875v-6a2 2 0 0 0-.081-.418M17.813 7.5h2.238l.6 1.5h-2.838zM6.938 18a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25m8.625-3.93a3.4 3.4 0 0 0-1.307 1.68h-4.137a3.376 3.376 0 0 0-6.363 0h-.943V12h12.75zm0-4.32H2.813V6h12.75zM17.437 18a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25m3.75-2.25h-.568a3.38 3.38 0 0 0-2.806-2.228V11.25h3.375z" })); } 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.196 9.84-1.313-3.28a1.49 1.49 0 0 0-1.39-.938H17.25v-.75a.75.75 0 0 0-.75-.75H2.25a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h1.594a3 3 0 0 0 5.813 0h4.687a3 3 0 0 0 5.813 0h1.593a1.5 1.5 0 0 0 1.5-1.5v-6a.8.8 0 0 0-.054-.281M17.25 7.123h3.242l.9 2.25H17.25zm-15-1.5h13.5v6H2.25zm4.5 12.75a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m7.594-2.25H9.657a3 3 0 0 0-5.813 0H2.25v-3h13.5v1.154a3 3 0 0 0-1.406 1.846m2.906 2.25a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m4.5-2.25h-1.593a3.005 3.005 0 0 0-2.907-2.25v-3h4.5z" })); }; IconTruck.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 { IconTruck as default }; IconTruck;