UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

53 lines 3.05 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 IconSailboat = 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: "M23.514 17.325a1.13 1.13 0 0 0-1.014-.638h-8.625v-1.5h6.375a1.124 1.124 0 0 0 .832-1.881l-7.207-7.929v-2.94a1.125 1.125 0 0 0-1.986-.722L2.139 13.34A1.125 1.125 0 0 0 3 15.187h8.625v1.5H1.5a1.125 1.125 0 0 0-.878 1.828l2.775 3.47a1.87 1.87 0 0 0 1.463.702h14.28a1.87 1.87 0 0 0 1.463-.704l2.775-3.468a1.13 1.13 0 0 0 .136-1.19m-5.807-4.388h-3.832V8.72zm-12.295 0 6.213-7.406v7.406zm13.547 7.5H5.041l-1.197-1.5h16.312z" })), /*#__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("path", { d: "M23.176 17.673a.75.75 0 0 0-.676-.425h-9v-2.25h6.75a.75.75 0 0 0 .555-1.255L13.5 5.708v-3.46a.75.75 0 0 0-1.332-.469l-9.75 12A.75.75 0 0 0 3 14.998h9v2.25H1.5a.75.75 0 0 0-.586 1.219l2.775 3.468a1.5 1.5 0 0 0 1.171.563h14.28a1.5 1.5 0 0 0 1.171-.563l2.775-3.468a.75.75 0 0 0 .09-.794m-4.62-4.175H13.5v-5.56zm-13.98 0L12 4.36v9.138zm14.564 7.5H4.86l-1.8-2.25h17.88z" })); }; IconSailboat.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 { IconSailboat as default }; IconSailboat;