@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
52 lines (51 loc) • 4.95 kB
JavaScript
"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 IconWheelchair = exports["default"] = function IconWheelchair(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("path", {
d: "M16.323 7.429a3.2 3.2 0 0 0 2.962-1.984 3.22 3.22 0 0 0-.695-3.504 3.203 3.203 0 0 0-5.472 2.273c0 .853.338 1.67.939 2.273a3.2 3.2 0 0 0 2.266.942m0-4.286a1.07 1.07 0 0 1 .988.661 1.075 1.075 0 0 1-.78 1.461 1.07 1.07 0 0 1-1.096-.455 1.074 1.074 0 0 1 .888-1.667m2.607 8.607a1.07 1.07 0 0 1 .222.892l-1.425 7.144a1.07 1.07 0 0 1-1.258.837 1.065 1.065 0 0 1-.839-.843 1.1 1.1 0 0 1 0-.418l1.17-5.861h-5.107a1.07 1.07 0 0 1-.926-.536 1.07 1.07 0 0 1 0-1.072l1.596-2.786a6.76 6.76 0 0 0-7.113.943 1.066 1.066 0 0 1-1.476-.166 1.073 1.073 0 0 1 .116-1.485 8.89 8.89 0 0 1 10.523-.597 1.07 1.07 0 0 1 .343 1.429l-1.216 2.127h4.564a1.07 1.07 0 0 1 .826.392m-3.692 3.975a5.7 5.7 0 0 1-1.101 2.96 5.683 5.683 0 0 1-8.452.794 5.72 5.72 0 0 1-1.58-5.862 5.7 5.7 0 0 1 1.718-2.649 5.7 5.7 0 0 1 2.858-1.33 1.066 1.066 0 0 1 1.219.896 1.074 1.074 0 0 1-.893 1.223 3.56 3.56 0 0 0-2.858 2.487 3.58 3.58 0 0 0 .988 3.663 3.558 3.558 0 0 0 5.97-2.345 1.07 1.07 0 0 1 .731-.945 1.065 1.065 0 0 1 1.353.69q.065.205.047.418"
}));
}
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("path", {
d: "M16.672 7.226c.601 0 1.189-.174 1.689-.5.5-.325.89-.788 1.12-1.33.23-.54.29-1.137.172-1.711a2.94 2.94 0 0 0-.832-1.517 3.07 3.07 0 0 0-1.556-.811 3.1 3.1 0 0 0-1.757.168 3.03 3.03 0 0 0-1.364 1.092 2.9 2.9 0 0 0-.513 1.646c0 .786.32 1.54.89 2.095a3.08 3.08 0 0 0 2.15.868m0-4.445c.3 0 .594.087.844.25s.445.394.56.665a1.45 1.45 0 0 1-.33 1.614 1.53 1.53 0 0 1-.778.406 1.55 1.55 0 0 1-.878-.085 1.5 1.5 0 0 1-.682-.545 1.455 1.455 0 0 1 .189-1.87 1.54 1.54 0 0 1 1.075-.435m-.76 12.593a5.8 5.8 0 0 1-1.025 3.292 6.05 6.05 0 0 1-2.729 2.183 6.23 6.23 0 0 1-3.513.337 6.13 6.13 0 0 1-3.114-1.622 5.9 5.9 0 0 1-1.664-3.034 5.8 5.8 0 0 1 .346-3.424 5.96 5.96 0 0 1 2.24-2.66c1-.65 2.175-.998 3.378-.998a.77.77 0 0 1 .537.217.73.73 0 0 1 0 1.048.77.77 0 0 1-.537.216c-.902 0-1.784.261-2.534.75a4.47 4.47 0 0 0-1.68 1.994 4.34 4.34 0 0 0-.259 2.568 4.4 4.4 0 0 0 1.248 2.276 4.6 4.6 0 0 0 2.335 1.216 4.67 4.67 0 0 0 2.635-.253 4.54 4.54 0 0 0 2.047-1.637c.501-.73.769-1.59.769-2.47 0-.196.08-.384.222-.523a.77.77 0 0 1 1.075 0 .73.73 0 0 1 .223.524m3.628-3.433a.73.73 0 0 1 .157.615l-1.52 7.408a.74.74 0 0 1-.264.427.773.773 0 0 1-1.114-.162.73.73 0 0 1-.113-.556l1.339-6.521H12.11a.8.8 0 0 1-.38-.1.75.75 0 0 1-.279-.27.73.73 0 0 1 0-.742l1.906-3.23a7.8 7.8 0 0 0-4.312-.804 7.7 7.7 0 0 0-4.049 1.652.76.76 0 0 1-.568.204.78.78 0 0 1-.541-.266.74.74 0 0 1-.17-.566.73.73 0 0 1 .309-.508 9.26 9.26 0 0 1 5.29-2.019 9.3 9.3 0 0 1 5.49 1.425.74.74 0 0 1 .324.447.72.72 0 0 1-.08.542l-1.627 2.753h5.528a.78.78 0 0 1 .588.271"
}));
};
IconWheelchair.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
} : {};
IconWheelchair;
module.exports = exports.default;