@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.85 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 IconThreadsLogo = 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: "M18.204 11.293a6.4 6.4 0 0 0-.938-.584c-.348-2.032-1.538-3.507-3.33-4.05-2.004-.607-4.315.13-5.373 1.717a1.126 1.126 0 0 0 1.874 1.248c.513-.768 1.792-1.132 2.851-.812a2.32 2.32 0 0 1 1.395 1.148 8 8 0 0 0-.83-.042c-3.175 0-5.478 1.821-5.478 4.332 0 2.147 1.644 3.705 3.91 3.705a4.88 4.88 0 0 0 3.49-1.5c.563-.584 1.208-1.543 1.474-3.007.582.602.876 1.376.876 2.306 0 1.663-1.788 4.125-5.625 4.125-4.29 0-6.375-2.577-6.375-7.875 0-5.299 2.085-7.875 6.375-7.875 2.914 0 4.781 1.164 5.7 3.562a1.125 1.125 0 0 0 2.1-.808c-1.26-3.28-3.956-5.008-7.8-5.008C6.938 1.875 3.875 5.47 3.875 12S6.938 22.125 12.5 22.125c2.94 0 4.789-1.13 5.823-2.077 1.284-1.178 2.052-2.785 2.052-4.298 0-1.841-.75-3.383-2.171-4.457m-4.05 3.6a2.61 2.61 0 0 1-1.869.812c-.766 0-1.66-.38-1.66-1.455 0-1.43 1.672-2.082 3.226-2.082.426 0 .851.047 1.266.142-.052 1.09-.382 1.978-.963 2.582"
}));
}
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.477 11.592a6 6 0 0 0-1.044-.63c-.375-2.802-2.25-3.685-3.103-3.944-1.854-.562-3.985.112-4.954 1.566a.75.75 0 1 0 1.248.832c.598-.896 2.063-1.327 3.271-.963.933.282 1.577.966 1.89 1.97a7.6 7.6 0 0 0-1.434-.135c-1.305 0-2.527.337-3.438.947-1.072.725-1.663 1.796-1.663 3.015 0 1.93 1.487 3.33 3.535 3.33a4.5 4.5 0 0 0 3.22-1.388c.604-.629 1.313-1.722 1.464-3.479l.103.075C17.52 13.505 18 14.501 18 15.75c0 1.815-1.907 4.5-6 4.5-2.506 0-4.264-.81-5.376-2.479C5.712 16.406 5.25 14.461 5.25 12c0-2.462.462-4.406 1.374-5.771C7.736 4.56 9.494 3.75 12 3.75c3.087 0 5.063 1.242 6.05 3.799a.75.75 0 1 0 1.4-.54C18.25 3.897 15.674 2.25 12 2.25c-3 0-5.232 1.058-6.624 3.146C4.296 7.016 3.75 9.236 3.75 12s.547 4.985 1.626 6.604C6.768 20.692 9 21.75 12 21.75c2.82 0 4.584-1.076 5.569-1.978 1.21-1.108 1.931-2.616 1.931-4.022 0-1.72-.7-3.158-2.023-4.158m-3.552 3.563a3 3 0 0 1-2.14.928c-1.013 0-2.035-.563-2.035-1.83 0-1.184 1.125-2.457 3.6-2.457a6 6 0 0 1 1.65.227c0 1.32-.375 2.401-1.075 3.129z"
}));
};
IconThreadsLogo.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 { IconThreadsLogo as default };
IconThreadsLogo;