UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

59 lines 5 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 IconTransit = 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: "M15.959 11.006a.85.85 0 0 0 .71-.975.86.86 0 0 0-.986-.703.85.85 0 0 0-.71.976.86.86 0 0 0 .986.702" }), /*#__PURE__*/React.createElement("path", { d: "M20.689 4.182c-.271 0-.516.105-.698.275V2.985c0-1.494-1.229-2.71-2.738-2.71H9.235c-1.51 0-2.737 1.216-2.737 2.71v.79h-3.6C1.387 3.776.16 4.992.16 6.486v9.07c0 1.358 1.016 2.485 2.334 2.68l-1.355 1.644a1 1 0 0 0 .145 1.42c.19.152.417.226.644.226.296 0 .589-.127.791-.371l2.382-2.89h3.617l2.375 2.853a1.02 1.02 0 0 0 1.435.137c.435-.354.496-.99.139-1.42l-1.333-1.601c1.312-.2 2.32-1.324 2.32-2.678v-1.827h1.436v.691c0 .869.714 1.576 1.592 1.576h1.718c.878 0 1.592-.707 1.592-1.576V7.625c.183.17.429.275.699.275.563 0 1.02-.451 1.02-1.008V5.19c0-.558-.458-1.01-1.021-1.01m-2.737 2.426h-4.299v-.123c0-.6-.199-1.155-.534-1.604h4.833zM2.198 8.628h9.416v1.95H2.198zm7.036-6.335h8.019c.343 0 .63.247.688.57H8.546a.7.7 0 0 1 .688-.57m-6.337 3.5h8.018c.386 0 .698.31.698.692v.123H7.516l-.033.002H2.198v-.125c0-.381.314-.692.699-.692m8.018 10.453H2.897a.695.695 0 0 1-.699-.691v-2.959h9.416v2.959a.696.696 0 0 1-.7.691m2.738-7.62h4.299v3.084h-4.299zm3.474 5.35v-.249h.825v.25z" }), /*#__PURE__*/React.createElement("path", { d: "M3.756 13.854a.854.854 0 0 0-.86.85c0 .47.385.85.86.85.474 0 .858-.38.858-.85s-.384-.85-.858-.85m6.3 1.7c.474 0 .859-.38.859-.85s-.385-.85-.86-.85a.854.854 0 0 0-.858.85c0 .47.385.85.859.85" })); } 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: "M20.144 9.32H8.413a.696.696 0 1 1 0-1.392h11.73a.696.696 0 0 1 0 1.392" }), /*#__PURE__*/React.createElement("path", { d: "M20.144 14.6h-5.979a.696.696 0 1 1 0-1.393h5.283V5.444H8.413a.696.696 0 0 1-.696-.696v-.917a2.46 2.46 0 0 1 2.456-2.456h8.21a2.46 2.46 0 0 1 2.456 2.456v10.072c0 .385-.31.696-.695.696M9.109 4.051h10.338V3.83c0-.586-.477-1.064-1.063-1.064h-8.211c-.587 0-1.064.477-1.064 1.064z" }), /*#__PURE__*/React.createElement("path", { d: "M19.557 16.945h-1.76a1.284 1.284 0 0 1-1.282-1.283v-1.759a.696.696 0 1 1 1.392 0v1.65h1.54v-1.65a.696.696 0 1 1 1.392 0v1.76c0 .707-.574 1.282-1.282 1.282m-2.64-4.802a.88.88 0 1 0 0-1.76.88.88 0 0 0 0 1.76m5.16-3.574a.696.696 0 0 1-.696-.696v-1.76a.696.696 0 1 1 1.392 0v1.76a.696.696 0 0 1-.696.696m-8.424 4.858H1.923a.696.696 0 1 1 0-1.392h11.73a.696.696 0 1 1 0 1.392m0-4.105H1.923a.696.696 0 1 1 0-1.392h11.73a.696.696 0 1 1 0 1.392M2.845 22.475a.696.696 0 0 1-.539-1.136l2.597-3.182a.696.696 0 1 1 1.079.88L3.386 22.22a.7.7 0 0 1-.54.255m10.035.15c-.2 0-.4-.086-.538-.253L9.597 19.04a.696.696 0 1 1 1.074-.885l2.746 3.332a.696.696 0 0 1-.537 1.138" }), /*#__PURE__*/React.createElement("path", { d: "M11.893 19.293h-8.21a2.46 2.46 0 0 1-2.456-2.455V7.453a2.46 2.46 0 0 1 2.455-2.456h8.211a2.46 2.46 0 0 1 2.456 2.456v9.385a2.46 2.46 0 0 1-2.456 2.455M3.683 6.389c-.587 0-1.064.477-1.064 1.064v9.385c0 .586.477 1.063 1.063 1.063h8.211c.587 0 1.064-.477 1.064-1.063V7.453c0-.586-.477-1.064-1.064-1.064z" }), /*#__PURE__*/React.createElement("path", { d: "M4.562 16.837a.88.88 0 1 0 0-1.76.88.88 0 0 0 0 1.76m6.452 0a.88.88 0 1 0 0-1.76.88.88 0 0 0 0 1.76" })); }; IconTransit.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 { IconTransit as default }; IconTransit;