@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.02 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 IconBridge = 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.75 14.625h-2.625v-4.173a7.2 7.2 0 0 0 2.202 1.406 1.126 1.126 0 0 0 .844-2.085 4.86 4.86 0 0 1-3.046-4.523 1.125 1.125 0 1 0-2.25 0 4.875 4.875 0 1 1-9.75 0 1.125 1.125 0 0 0-2.25 0 4.86 4.86 0 0 1-3.047 4.52 1.125 1.125 0 1 0 .844 2.087 7.2 7.2 0 0 0 2.202-1.407v4.175H2.25a1.125 1.125 0 1 0 0 2.25h2.625v1.875a1.125 1.125 0 0 0 2.25 0v-1.875h9.75v1.875a1.125 1.125 0 0 0 2.25 0v-1.875h2.625a1.125 1.125 0 1 0 0-2.25m-8.625-2.34v2.34h-2.25v-2.34a7.2 7.2 0 0 0 2.25 0m-6-1.843c.451.423.955.787 1.5 1.08v3.103h-1.5zm8.25 4.183v-3.102a7.2 7.2 0 0 0 1.5-1.081v4.183z"
}));
}
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.75 15h-3V9.5a6.74 6.74 0 0 0 2.72 2.009.75.75 0 0 0 .562-1.39A5.23 5.23 0 0 1 18.75 5.25a.75.75 0 1 0-1.5 0 5.25 5.25 0 1 1-10.5 0 .75.75 0 0 0-1.5 0 5.23 5.23 0 0 1-3.28 4.868.75.75 0 0 0 .562 1.39A6.74 6.74 0 0 0 5.25 9.502V15h-3a.75.75 0 1 0 0 1.5h3v2.25a.75.75 0 1 0 1.5 0V16.5h10.5v2.25a.75.75 0 1 0 1.5 0V16.5h3a.75.75 0 1 0 0-1.5m-8.25-3.169V15h-3v-3.169a6.75 6.75 0 0 0 3 0M6.75 9.488A6.8 6.8 0 0 0 9 11.294V15H6.75zM15 15v-3.705a6.8 6.8 0 0 0 2.25-1.807V15z"
}));
};
IconBridge.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 { IconBridge as default };
IconBridge;