@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.24 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 IconStackPlus = 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: "M22.312 18.75a1.125 1.125 0 0 1-1.125 1.125h-.75v.75a1.125 1.125 0 1 1-2.25 0v-.75h-.75a1.125 1.125 0 0 1 0-2.25h.75v-.75a1.125 1.125 0 0 1 2.25 0v.75h.75a1.125 1.125 0 0 1 1.125 1.125m-2.062-7.722-8.438 4.92-8.432-4.92a1.125 1.125 0 0 0-1.13 1.944l9 5.25a1.13 1.13 0 0 0 1.134 0l9-5.25a1.126 1.126 0 1 0-1.134-1.944M1.687 7.5a1.13 1.13 0 0 1 .563-.972l9-5.25a1.13 1.13 0 0 1 1.134 0l9 5.25a1.124 1.124 0 0 1 0 1.944l-9 5.25a1.13 1.13 0 0 1-1.134 0l-9-5.25a1.13 1.13 0 0 1-.563-.972m3.359 0 6.766 3.948L18.58 7.5l-6.767-3.948zm7.704 12.403-.938.545-8.432-4.92a1.125 1.125 0 0 0-1.13 1.944l9 5.25a1.13 1.13 0 0 0 1.134 0l1.5-.876a1.126 1.126 0 0 0-1.134-1.943"
}));
}
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.273 11.625A.75.75 0 0 1 21 12.648l-9 5.25a.75.75 0 0 1-.756 0l-9-5.25A.75.75 0 0 1 3 11.353l8.625 5.03 8.625-5.03a.75.75 0 0 1 1.023.272M1.875 7.5a.75.75 0 0 1 .375-.647l9-5.25a.75.75 0 0 1 .756 0l9 5.25a.75.75 0 0 1 0 1.295l-9 5.25a.75.75 0 0 1-.756 0l-9-5.25a.75.75 0 0 1-.375-.648m2.239 0 7.51 4.382L19.137 7.5l-7.512-4.38zM21.374 18h-1.5v-1.5a.75.75 0 1 0-1.5 0V18h-1.5a.75.75 0 0 0 0 1.5h1.5V21a.75.75 0 0 0 1.5 0v-1.5h1.5a.75.75 0 1 0 0-1.5m-8.624 2.228-1.125.656L3 15.853a.75.75 0 0 0-.75 1.295l9 5.25a.75.75 0 0 0 .756 0l1.5-.875a.751.751 0 0 0-.478-1.394.8.8 0 0 0-.278.099"
}));
};
IconStackPlus.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 { IconStackPlus as default };
IconStackPlus;