UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

51 lines 4.08 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 IconBuilding = 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: "M23.997 18.589c0-.487-.299-.901-.719-1.07v-3.882c.407-.174.693-.584.693-1.06 0-.636-.507-1.15-1.132-1.15h-1.993V9.902c0-.635-.506-1.15-1.132-1.15h-.374c-.48-3.177-2.952-5.695-6.074-6.192v-1.41C13.266.515 12.759 0 12.133 0c-.625 0-1.131.515-1.131 1.15v1.411c-3.123.497-5.595 3.015-6.075 6.192h-.42c-.625 0-1.132.515-1.132 1.15v1.523H1.132c-.625 0-1.132.515-1.132 1.15 0 .52.338.958.8 1.102v3.817a1.15 1.15 0 0 0-.787 1.096v4.258C.013 23.485.52 24 1.145 24h21.723c.3 0 .589-.122.8-.337.213-.216.332-.51.332-.815l-.004-4.258zm-5.772-1.15v-3.713h2.79v3.713zm-12.37-3.713v3.713h-2.79v-3.713zm2.264 0h2.79v3.713h-2.79zm5.052 0h2.79v3.713h-2.79zm-1.037-8.954c2.39 0 4.395 1.705 4.902 3.98H7.234c.507-2.276 2.51-3.98 4.901-3.98M5.64 11.053h12.943v.372H5.64zM2.277 21.698V19.74h19.457l.002 1.957z" })); } 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: "M17.561 10.804a.645.645 0 0 1-.644-.645 4.804 4.804 0 0 0-4.799-4.798 4.804 4.804 0 0 0-4.798 4.798.645.645 0 1 1-1.29 0 6.094 6.094 0 0 1 6.088-6.088 6.094 6.094 0 0 1 6.088 6.088.645.645 0 0 1-.645.644m4.018 2.343H2.395a.645.645 0 1 1 0-1.29h19.184a.645.645 0 0 1 0 1.29m.027 8.93h-19.2a.645.645 0 0 1-.644-.644V17.73c0-.356.289-.645.645-.645h19.195c.356 0 .645.29.645.645l.003 3.702a.645.645 0 0 1-.644.646M3.052 20.789H20.96l-.002-2.413H3.052z" }), /*#__PURE__*/React.createElement("path", { d: "M12.119 5.36a.645.645 0 0 1-.645-.644v-2.15a.645.645 0 1 1 1.29 0v2.15a.645.645 0 0 1-.646.645m6.699 7.043a.645.645 0 0 1-.645-.645v-.936H6.023v.936a.645.645 0 1 1-1.29 0v-1.58c0-.357.29-.646.646-.646h13.439c.356 0 .645.289.645.645v1.58a.645.645 0 0 1-.645.646m-15.715 5.76a.645.645 0 0 1-.645-.645v-4.898a.645.645 0 1 1 1.29 0v4.898a.645.645 0 0 1-.645.645m17.864 0a.645.645 0 0 1-.645-.645v-4.898a.645.645 0 1 1 1.29 0v4.898a.645.645 0 0 1-.645.645" }), /*#__PURE__*/React.createElement("path", { d: "M7.57 18.164a.645.645 0 0 1-.645-.645v-4.898a.645.645 0 1 1 1.29 0v4.898a.645.645 0 0 1-.646.645m4.466 0a.645.645 0 0 1-.645-.645v-4.898a.645.645 0 1 1 1.29 0v4.898a.645.645 0 0 1-.645.645m4.466 0a.645.645 0 0 1-.645-.645v-4.898a.645.645 0 1 1 1.29 0v4.898a.645.645 0 0 1-.645.645" })); }; IconBuilding.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 { IconBuilding as default }; IconBuilding;