@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.17 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 IconMapPinArea = 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: "M10.625 7.5a1.875 1.875 0 1 1 3.75 0 1.875 1.875 0 0 1-3.75 0m-4.5 0a6.375 6.375 0 0 1 12.75 0c0 5.836-5.58 9.094-5.817 9.227a1.13 1.13 0 0 1-1.116 0c-.238-.133-5.817-3.391-5.817-9.227m2.25 0c0 3.581 2.88 6.019 4.125 6.904 1.238-.89 4.125-3.341 4.125-6.904a4.125 4.125 0 0 0-8.25 0m11.678 6.15a1.125 1.125 0 1 0-.856 2.08c1.324.546 1.928 1.17 1.928 1.52 0 .375-.668 1.038-2.135 1.601-1.715.657-4.02 1.024-6.49 1.024s-4.775-.364-6.49-1.024c-1.467-.563-2.135-1.226-2.135-1.601 0-.35.604-.974 1.928-1.52a1.125 1.125 0 1 0-.856-2.08c-1.515.623-3.322 1.754-3.322 3.6 0 3.2 5.471 4.875 10.875 4.875 2.74 0 5.33-.416 7.298-1.174 1.336-.514 3.577-1.677 3.577-3.701 0-1.846-1.807-2.977-3.322-3.6"
}));
}
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: "M10.5 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0M6 7.5a6 6 0 1 1 12 0c0 5.62-5.398 8.77-5.625 8.902a.75.75 0 0 1-.744 0C11.398 16.269 6 13.125 6 7.5m1.5 0c0 3.956 3.36 6.582 4.5 7.36 1.14-.777 4.5-3.404 4.5-7.36a4.5 4.5 0 1 0-9 0m11.51 6.34a.75.75 0 0 0-.52 1.407c1.548.572 2.51 1.34 2.51 2.003 0 1.253-3.424 3-9 3s-9-1.747-9-3c0-.664.962-1.43 2.51-2.002a.75.75 0 0 0-.52-1.407c-2.25.83-3.49 2.041-3.49 3.409 0 2.923 5.41 4.5 10.5 4.5s10.5-1.577 10.5-4.5c0-1.368-1.24-2.58-3.49-3.41"
}));
};
IconMapPinArea.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 { IconMapPinArea as default };
IconMapPinArea;