@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
59 lines • 4.33 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 IconFish = 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: "M15.625 7.125a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m4.52 6.523a9.6 9.6 0 0 1-2.578 2.986q-.604.461-1.27.828c-1.716.944-3.832 1.49-6.302 1.627l-1.964 4.255a1.13 1.13 0 0 1-1.02.656h-.077a1.125 1.125 0 0 1-.999-.791l-1.328-4.313-4.312-1.33a1.125 1.125 0 0 1-.139-2.097l4.256-1.961c.138-2.469.685-4.586 1.629-6.3q.366-.667.825-1.274l.048-.061A9.6 9.6 0 0 1 9.85 3.356c2.395-1.33 5.093-1.534 6.937-1.47 1.665.057 3.421.374 3.822.61.163.097.3.234.396.397.236.4.555 2.156.612 3.821.06 1.842-.143 4.536-1.472 6.934m-6.44 2.5a5.3 5.3 0 0 1-1.043-.81 5.23 5.23 0 0 1-1.49-3.01 5.23 5.23 0 0 1-3.01-1.49 5.3 5.3 0 0 1-.809-1.044q-.656 1.92-.721 4.471a1.13 1.13 0 0 1-.657.995l-2.208 1.019 2.071.64a1.13 1.13 0 0 1 .745.744l.636 2.07 1.021-2.211a1.13 1.13 0 0 1 .995-.656q2.546-.057 4.47-.718m5.389-11.742c-1.524-.294-5.795-.843-8.907 1.398-.486.35-.927.76-1.312 1.219a3 3 0 0 0 3.281 3.088 1.125 1.125 0 0 1 1.227 1.227 3 3 0 0 0 3.094 3.281c.46-.384.87-.825 1.219-1.312 2.246-3.106 1.696-7.38 1.398-8.9"
})), /*#__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: "M15.75 7.125a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0m4.567 6.341c-1.815 3.272-5.197 5.04-10.053 5.26L8.2 23.546a.75.75 0 0 1-.69.454h-.047a.75.75 0 0 1-.675-.542L5.4 18.6.544 17.21a.75.75 0 0 1-.094-1.411l4.82-2.063C5.49 8.881 7.258 5.5 10.528 3.683c2.32-1.288 4.945-1.485 6.739-1.423 1.747.06 3.375.4 3.643.563.11.064.2.156.265.265.159.267.5 1.895.563 3.642.064 1.791-.132 4.416-1.42 6.736m-5.173 2.719a4.89 4.89 0 0 1-3.13-4.198 4.88 4.88 0 0 1-4.198-3.13q-.98 2.23-1.06 5.399a.75.75 0 0 1-.454.672l-3.318 1.42 3.23.924a.75.75 0 0 1 .514.515l.923 3.229 1.421-3.319a.75.75 0 0 1 .672-.453q3.166-.076 5.4-1.059m4.77-12.1c-1.326-.282-6.009-1.032-9.403 1.383-.561.4-1.066.876-1.5 1.412a3.375 3.375 0 0 0 3.69 3.604.75.75 0 0 1 .818.819 3.376 3.376 0 0 0 3.606 3.688 7.6 7.6 0 0 0 1.407-1.5c2.414-3.391 1.664-8.078 1.382-9.406"
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
id: "a"
}, /*#__PURE__*/React.createElement("path", {
d: "M0 0h24v24H0z"
}))));
};
IconFish.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 { IconFish as default };
IconFish;