@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 2.83 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 IconMountains = 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: "M15 8.813a3 3 0 1 0 0-6 3 3 0 0 0 0 6m0-3.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m8.843 14.426-5.116-8.633a1.86 1.86 0 0 0-1.613-.918 1.86 1.86 0 0 0-1.612.918l-1.754 2.958-3.508-5.953a1.874 1.874 0 0 0-3.23 0L.156 19.49a1.125 1.125 0 0 0 .969 1.697h21.75a1.125 1.125 0 0 0 .968-1.7M8.625 9.55l1.553 2.637H7.073zm-5.531 9.388 2.651-4.5h5.76l2.651 4.5zm13.674 0-1.716-2.907 2.063-3.478 3.786 6.384z"
}));
}
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: "M15.375 8.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25m0-3.75a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25m8.52 14.618L18.78 10.86a1.49 1.49 0 0 0-1.291-.735 1.49 1.49 0 0 0-1.29.735L13.746 15 9.543 7.866a1.5 1.5 0 0 0-2.586 0L.104 19.494a.75.75 0 0 0 .646 1.131h22.5a.75.75 0 0 0 .645-1.133M8.25 8.625l2.21 3.75H6.04zm-6.188 10.5 3.094-5.25h6.188l1.757 2.981 1.336 2.269zm14.116 0-1.562-2.651 2.873-4.849 4.448 7.5z"
}));
};
IconMountains.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 { IconMountains as default };
IconMountains;