UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

59 lines 3.9 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 IconDemographics = 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("g", { "clip-path": "url(#a)" }, /*#__PURE__*/React.createElement("path", { d: "M14.91 16.978a4.876 4.876 0 1 0-6.82 0 7.1 7.1 0 0 0-2.813 2.709 1.125 1.125 0 0 0 1.948 1.125 4.968 4.968 0 0 1 8.552 0 1.126 1.126 0 1 0 1.948-1.125 7.1 7.1 0 0 0-2.814-2.709M8.876 13.5a2.625 2.625 0 1 1 5.25 0 2.625 2.625 0 0 1-5.25 0m13.801.9a1.126 1.126 0 0 1-1.576-.225c-.78-1.04-1.86-1.837-2.75-2.029a1.125 1.125 0 0 1-.17-2.148 1.874 1.874 0 1 0-2.323-2.653 1.127 1.127 0 0 1-1.884.18 1.13 1.13 0 0 1-.085-1.267 4.125 4.125 0 1 1 6.87 4.533 8.6 8.6 0 0 1 2.142 2.033 1.125 1.125 0 0 1-.224 1.575M4.65 12.15c-.889.191-1.969.988-2.75 2.029a1.126 1.126 0 0 1-1.799-1.355 8.7 8.7 0 0 1 2.142-2.033 4.125 4.125 0 1 1 6.87-4.533 1.125 1.125 0 1 1-1.969 1.087 1.875 1.875 0 1 0-2.323 2.653 1.125 1.125 0 0 1-.17 2.148z" })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", { id: "a" }, /*#__PURE__*/React.createElement("path", { d: "M0 0h24v24H0z" })))); } 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("g", { "clip-path": "url(#a)" }, /*#__PURE__*/React.createElement("path", { d: "M22.45 14.1a.75.75 0 0 1-1.05-.15A4.84 4.84 0 0 0 17.5 12a.75.75 0 0 1 0-1.5 2.25 2.25 0 1 0-2.179-2.812.751.751 0 0 1-1.453-.375 3.75 3.75 0 1 1 6.163 3.704 6.37 6.37 0 0 1 2.572 2.032.75.75 0 0 1-.153 1.051m-5.051 5.775a.751.751 0 0 1-.842 1.123.75.75 0 0 1-.456-.373 5.344 5.344 0 0 0-9.202 0 .749.749 0 1 1-1.298-.75 6.76 6.76 0 0 1 3.163-2.805 4.5 4.5 0 1 1 5.472 0 6.76 6.76 0 0 1 3.163 2.805M11.5 16.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5.25-5.25a.75.75 0 0 0-.75-.75 2.25 2.25 0 1 1 2.179-2.812.75.75 0 0 0 1.453-.375 3.75 3.75 0 1 0-6.163 3.704A6.37 6.37 0 0 0 .4 13.049a.75.75 0 1 0 1.2.901A4.84 4.84 0 0 1 5.5 12a.75.75 0 0 0 .75-.75" })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", { id: "a" }, /*#__PURE__*/React.createElement("path", { d: "M0 0h24v24H0z" })))); }; IconDemographics.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 { IconDemographics as default }; IconDemographics;