UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.32 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 IconScales = 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: "m23.294 12.332-3-7.5a1.125 1.125 0 0 0-1.287-.68l-5.382 1.192V3.75a1.125 1.125 0 1 0-2.25 0v2.097L5.506 7.152a1.13 1.13 0 0 0-.8.68l-3 7.492q-.083.206-.081.426c0 1.137.581 2.103 1.636 2.719.76.425 1.617.651 2.489.656a5.16 5.16 0 0 0 2.49-.656c1.054-.616 1.635-1.582 1.635-2.719 0-.143-.027-.285-.08-.418L7.284 9.06l4.09-.905v10.969H10.25a1.125 1.125 0 1 0 0 2.25h4.5a1.125 1.125 0 1 0 0-2.25h-1.125V7.653l3.79-.844-2.21 5.522q-.08.201-.08.419c0 1.137.581 2.103 1.636 2.719a5.04 5.04 0 0 0 4.978 0c1.055-.616 1.636-1.582 1.636-2.719 0-.143-.027-.285-.08-.418M5.75 16.875c-.348 0-1.687-.175-1.857-.954l1.857-4.642 1.857 4.642c-.17.779-1.51.954-1.857.954m13.5-3c-.348 0-1.687-.175-1.857-.954l1.857-4.642 1.857 4.642c-.17.779-1.51.954-1.857.954" })); } 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: "m22.447 12.469-3-7.5a.75.75 0 0 0-.86-.454L12.75 5.813V3.75a.75.75 0 1 0-1.5 0v2.398l-6.163 1.37a.75.75 0 0 0-.534.45v.006l-3 7.495a.7.7 0 0 0-.053.281c0 2.185 2.3 3 3.75 3s3.75-.815 3.75-3a.7.7 0 0 0-.053-.281L6.274 8.79l4.976-1.104V19.5h-1.5a.75.75 0 1 0 0 1.5h4.5a.75.75 0 1 0 0-1.5h-1.5V7.352l4.781-1.061-2.477 6.178a.7.7 0 0 0-.054.281c0 2.185 2.3 3 3.75 3s3.75-.815 3.75-3a.7.7 0 0 0-.053-.281M5.25 17.25c-.706 0-2.134-.338-2.243-1.373L5.25 10.27l2.243 5.608c-.11 1.035-1.537 1.373-2.243 1.373m13.5-3c-.706 0-2.134-.338-2.243-1.373L18.75 7.27l2.244 5.608c-.11 1.035-1.538 1.373-2.244 1.373" })); }; IconScales.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 { IconScales as default }; IconScales;