@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 2.92 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 IconEscalatorUp = 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 3.375h-5.25a1.13 1.13 0 0 0-.827.362l-8.665 9.388H3A1.875 1.875 0 0 0 1.125 15v3.75A1.875 1.875 0 0 0 3 20.625h5.25a1.13 1.13 0 0 0 .827-.362l8.665-9.388H21A1.875 1.875 0 0 0 22.875 9V5.25A1.875 1.875 0 0 0 21 3.375m-.375 5.25H17.25a1.13 1.13 0 0 0-.827.362l-8.665 9.388H3.375v-3H6.75a1.13 1.13 0 0 0 .827-.362l8.665-9.388h4.383zm1.17 7.08a1.127 1.127 0 1 1-1.593 1.593l-.327-.33V19.5a1.125 1.125 0 1 1-2.25 0v-2.531l-.33.33a1.127 1.127 0 1 1-1.593-1.594l2.25-2.25a1.125 1.125 0 0 1 1.594 0z"
}));
}
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 3.75h-5.25a.75.75 0 0 0-.55.24L6.421 13.5H3A1.5 1.5 0 0 0 1.5 15v3.75a1.5 1.5 0 0 0 1.5 1.5h5.25a.75.75 0 0 0 .552-.24l8.777-9.51H21A1.5 1.5 0 0 0 22.5 9V5.25a1.5 1.5 0 0 0-1.5-1.5M21 9h-3.75a.75.75 0 0 0-.55.24l-8.778 9.51H3V15h3.75a.75.75 0 0 0 .552-.24l8.777-9.51H21zm.531 6.97a.75.75 0 1 1-1.061 1.06l-.97-.97v3.44a.75.75 0 1 1-1.5 0v-3.44l-.969.97a.75.75 0 1 1-1.061-1.06l2.25-2.25a.747.747 0 0 1 1.061 0z"
}));
};
IconEscalatorUp.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 { IconEscalatorUp as default };
IconEscalatorUp;