UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

64 lines (63 loc) 4.59 kB
"use strict"; exports.__esModule = true; exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _excluded = ["bold", "width", "height"]; function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; } 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; } var IconMotorcycle = exports["default"] = function IconMotorcycle(props) { var _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["default"].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["default"].createElement("g", { "clip-path": "url(#a)" }, /*#__PURE__*/_react["default"].createElement("path", { d: "M19.496 10.873h-.159l-.328-1.106q.24-.022.487-.023a1.125 1.125 0 0 0 0-2.25h-1.16l-.761-2.57a1.125 1.125 0 0 0-1.08-.801h-3a1.125 1.125 0 1 0 0 2.25h2.157l.334 1.125h-1.74c-1.823 0-3.312.433-4.305 1.253a1.13 1.13 0 0 1-1.178.143c-1.23-.563-5.361-2.344-5.78-2.521l-.494-.21s-.393-.165-.618-.165a1.125 1.125 0 0 0-.433 2.164c.162.068 4.094 1.734 6.394 2.78.442.2.921.304 1.406.303a3.35 3.35 0 0 0 2.136-.758c.538-.444 1.46-.701 2.615-.735a7.88 7.88 0 0 0-2.288 4.5H8.853a4.5 4.5 0 1 0 0 2.25h3.893a1.125 1.125 0 0 0 1.125-1.125 5.63 5.63 0 0 1 2.98-4.963l.329 1.106a4.5 4.5 0 1 0 2.316-.647m-15 5.625h1.947a2.25 2.25 0 1 1 0-2.25H4.496a1.125 1.125 0 0 0 0 2.25m15 1.125a2.25 2.25 0 0 1-1.632-3.797l.552 1.867a1.125 1.125 0 0 0 2.159-.64l-.554-1.867a2.25 2.25 0 0 1-.525 4.437" })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", { id: "a" }, /*#__PURE__*/_react["default"].createElement("path", { d: "M0 0h24v24H0z" })))); } return /*#__PURE__*/_react["default"].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["default"].createElement("g", { "clip-path": "url(#a)" }, /*#__PURE__*/_react["default"].createElement("path", { d: "M20.248 11.625a4 4 0 0 0-.619.052l-.545-1.42a5.2 5.2 0 0 1 1.164-.132.75.75 0 1 0 0-1.5h-1.793l-1.257-3.27a.75.75 0 0 0-.7-.48h-3a.75.75 0 1 0 0 1.5h2.485l.866 2.25h-2.601c-1.734 0-3.14.404-4.066 1.168a1.5 1.5 0 0 1-1.571.194c-.992-.45-5.695-2.362-6.109-2.524l-.535-.21a1.7 1.7 0 0 0-.469-.128.75.75 0 0 0-.269 1.45c.043.016 4.424 1.715 6.762 2.777a3.01 3.01 0 0 0 3.146-.402c.456-.375 1.366-.825 3.112-.825h1.764a6.73 6.73 0 0 0-2.266 3.43 1.49 1.49 0 0 1-1.438 1.07H7.423a3.75 3.75 0 1 0 0 1.5h4.886a2.99 2.99 0 0 0 2.882-2.166 5.25 5.25 0 0 1 2.493-3.16l.546 1.418a3.75 3.75 0 1 0 2.018-.592m-16.5 4.5h2.12a2.25 2.25 0 1 1 0-1.5h-2.12a.75.75 0 1 0 0 1.5m16.5 1.5a2.25 2.25 0 0 1-1.46-3.96l.76 1.98a.75.75 0 0 0 1.4-.54l-.76-1.98h.06a2.25 2.25 0 0 1 0 4.5" })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", { id: "a" }, /*#__PURE__*/_react["default"].createElement("path", { d: "M0 0h24v24H0z" })))); }; IconMotorcycle.propTypes = process.env.NODE_ENV !== "production" ? { bold: _propTypes["default"].bool, width: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]), height: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]), className: _propTypes["default"].string, fill: _propTypes["default"].string, 'aria-hidden': _propTypes["default"].bool, 'aria-label': _propTypes["default"].string } : {}; IconMotorcycle; module.exports = exports.default;