UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.82 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 IconGolf = 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.875 9.188a1.5 1.5 0 1 1-2.998 0 1.5 1.5 0 0 1 2.998 0m-4.5 1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m8.25-1.875A8.625 8.625 0 1 1 12 .188a8.634 8.634 0 0 1 8.625 8.625m-2.25 0A6.375 6.375 0 1 0 12 15.188a6.38 6.38 0 0 0 6.375-6.375m-3 9.55a10.18 10.18 0 0 1-6.75 0 1.125 1.125 0 1 0-.75 2.12c.969.343 1.977.564 3 .657v1.548a1.125 1.125 0 0 0 2.25 0v-1.55a12.4 12.4 0 0 0 3-.657 1.125 1.125 0 1 0-.75-2.121z" })); } 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.5 9a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0m-4.125 1.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25m7.875-2.25A8.25 8.25 0 1 1 12 .375a8.26 8.26 0 0 1 8.25 8.25m-1.5 0a6.75 6.75 0 1 0-6.75 6.75 6.76 6.76 0 0 0 6.75-6.75m-3.268 9.05c-1.232.471-2.371.7-3.482.7-1.11 0-2.25-.229-3.482-.7a.75.75 0 1 0-.536 1.4c1.047.411 2.148.67 3.268.77v3.03a.75.75 0 1 0 1.5 0v-3.03c1.12-.1 2.221-.359 3.268-.77a.75.75 0 1 0-.536-1.4" })); }; IconGolf.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 { IconGolf as default }; IconGolf;