UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

53 lines 3.55 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 IconOpenNow = 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: "M20.194 9.43h-2.3l-3.078-3.362c.19-.376.296-.8.296-1.248 0-1.555-1.284-2.82-2.862-2.82S9.388 3.265 9.388 4.82c0 .443.105.862.29 1.236L6.605 9.43h-2.3c-.995 0-1.805.798-1.805 1.78v9.96c0 .982.81 1.78 1.806 1.78h15.888c.996 0 1.806-.798 1.806-1.78v-9.96c0-.982-.81-1.78-1.806-1.78M12.25 4.136a.69.69 0 0 1 .695.685.69.69 0 0 1-.695.685.69.69 0 0 1-.695-.685.69.69 0 0 1 .695-.685m-.956 3.342a2.88 2.88 0 0 0 1.898.004l1.784 1.948h-5.46zm8.54 13.337H4.666v-9.25h15.166z" }), /*#__PURE__*/React.createElement("path", { d: "M10.318 18.804c.211.208.489.312.767.312s.554-.104.766-.312l4.145-4.084a1.056 1.056 0 0 0 0-1.51 1.094 1.094 0 0 0-1.532 0l-3.379 3.329-1.047-1.032a1.094 1.094 0 0 0-1.532 0 1.057 1.057 0 0 0 0 1.51l1.813 1.786" })); } 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.25 22.477H3.75c-.827 0-1.5-.674-1.5-1.5V10.478c0-.826.673-1.5 1.5-1.5h16.5c.827 0 1.5.674 1.5 1.5v10.499c0 .826-.673 1.5-1.5 1.5M3.75 10.478v10.499h16.5V10.478z" }), /*#__PURE__*/React.createElement("path", { d: "M10.789 18.436a.75.75 0 0 1-.53-.22l-1.883-1.882a.75.75 0 0 1 1.06-1.06l1.353 1.353 3.773-3.774a.75.75 0 0 1 1.06 1.06l-4.304 4.305a.75.75 0 0 1-.53.219zm-4.04-8.08a.75.75 0 0 1-.558-1.252L9.93 4.938a.75.75 0 0 1 1.117 1.002l-3.738 4.166a.75.75 0 0 1-.559.25m10.501 0a.75.75 0 0 1-.557-.248L12.958 5.97a.75.75 0 0 1 1.114-1.005l3.735 4.14a.75.75 0 0 1-.557 1.252" }), /*#__PURE__*/React.createElement("path", { d: "M12 3.023a.722.722 0 1 1 0 1.445.722.722 0 0 1 0-1.445m0-1.5a2.224 2.224 0 0 0-2.222 2.222c0 1.226.997 2.222 2.222 2.222a2.224 2.224 0 0 0 2.222-2.222A2.224 2.224 0 0 0 12 1.523" })); }; IconOpenNow.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 { IconOpenNow as default }; IconOpenNow;