UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.11 kB
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 IconLighthouse = 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: "M20.625 8.625A1.125 1.125 0 0 0 19.5 9.75v.75h-1.419l-.462-4.613a1.13 1.13 0 0 0-.369-.731l-4.022-3.573-.028-.023a1.875 1.875 0 0 0-2.4 0l-.028.023L6.75 5.156a1.13 1.13 0 0 0-.375.728L5.918 10.5H4.5v-.75a1.125 1.125 0 0 0-2.25 0v1.875a1.125 1.125 0 0 0 1.125 1.125h2.317l-.809 8.072a1.875 1.875 0 0 0 1.867 2.053h10.5a1.876 1.876 0 0 0 1.866-2.058l-.808-8.067h2.317a1.125 1.125 0 0 0 1.125-1.125V9.75a1.125 1.125 0 0 0-1.125-1.125M12 3.502l1.543 1.373h-3.086zM8.518 7.125h6.964l.338 3.375h-2.695v-.75a1.125 1.125 0 0 0-2.25 0v.75H8.18zm-1.354 13.5.301-3h9.07l.3 3zm9.149-5.25H7.687l.263-2.625h8.093z" })); } 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: "M19.5 8.25a.75.75 0 0 0-.75.75v1.5h-1.045l-.455-4.575a.75.75 0 0 0-.251-.488l-4.02-3.574-.019-.016a1.5 1.5 0 0 0-1.92 0l-.019.016-4.02 3.574a.75.75 0 0 0-.251.488L6.295 10.5H5.25V9a.75.75 0 1 0-1.5 0v2.25a.75.75 0 0 0 .75.75h1.644l-.887 8.857A1.5 1.5 0 0 0 6.75 22.5h10.5a1.5 1.5 0 0 0 1.492-1.647L17.857 12H19.5a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75M12 3l2.531 2.25H9.47zM8.179 6.75h7.642l.375 3.75H12.75V9a.75.75 0 1 0-1.5 0v1.5H7.803zM6.75 21l.375-3.75h9.75L17.25 21zm9.974-5.25H7.276L7.65 12h8.696z" })); }; IconLighthouse.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 { IconLighthouse as default }; IconLighthouse;