@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.67 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 IconYoutubeLogo = 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: "m16.483 11.054-5.25-3.375a1.125 1.125 0 0 0-1.733.946v6.75a1.125 1.125 0 0 0 1.733.946l5.25-3.375a1.126 1.126 0 0 0 0-1.892m-4.733 2.258v-2.624L13.795 12zm11.082-6.89a2.63 2.63 0 0 0-1.587-1.794c-3.27-1.261-8.437-1.253-8.745-1.253s-5.475-.008-8.745 1.254a2.63 2.63 0 0 0-1.587 1.795c-.248.956-.543 2.7-.543 5.576s.295 4.62.543 5.576a2.63 2.63 0 0 0 1.587 1.795c3.14 1.212 8.029 1.254 8.686 1.254h.118c.656 0 5.546-.042 8.686-1.254a2.63 2.63 0 0 0 1.587-1.795c.248-.956.543-2.7.543-5.576s-.295-4.62-.543-5.576zm-2.176 10.59a.38.38 0 0 1-.22.26c-2.8 1.08-7.536 1.103-7.906 1.103h-.037c-.05 0-5.028.016-7.927-1.103a.38.38 0 0 1-.222-.26c-.176-.679-.469-2.233-.469-5.012s.295-4.333.469-5.012a.38.38 0 0 1 .22-.26c2.9-1.119 7.879-1.103 7.929-1.103h.014c.05 0 5.028-.016 7.927 1.103a.38.38 0 0 1 .222.26c.177.679.469 2.233.469 5.012s-.295 4.333-.469 5.012"
}));
}
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: "m15.416 11.376-4.5-3A.75.75 0 0 0 9.75 9v6a.75.75 0 0 0 1.166.624l4.5-3a.75.75 0 0 0 0-1.248m-4.166 2.222v-3.192L13.648 12zm10.718-7.08A2.25 2.25 0 0 0 20.61 4.98C17.396 3.739 12.281 3.75 12 3.75s-5.396-.011-8.61 1.23a2.25 2.25 0 0 0-1.358 1.537C1.789 7.454 1.5 9.164 1.5 12s.289 4.547.532 5.483A2.25 2.25 0 0 0 3.39 19.02c3.079 1.188 7.897 1.229 8.548 1.229h.124c.65 0 5.472-.041 8.548-1.23a2.25 2.25 0 0 0 1.358-1.537c.243-.938.532-2.646.532-5.483s-.289-4.547-.532-5.482M20.516 17.11a.75.75 0 0 1-.447.515c-2.967 1.146-8.014 1.125-8.062 1.125H12c-.05 0-5.093.019-8.062-1.125a.75.75 0 0 1-.448-.515C3.262 16.255 3 14.678 3 12s.263-4.255.484-5.107a.75.75 0 0 1 .447-.518C6.792 5.27 11.587 5.25 11.979 5.25h.026c.05 0 5.098-.017 8.062 1.125a.75.75 0 0 1 .447.515c.224.855.486 2.432.486 5.11s-.262 4.255-.484 5.107z"
}));
};
IconYoutubeLogo.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 { IconYoutubeLogo as default };
IconYoutubeLogo;