@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 4.07 kB
JavaScript
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 IconDocXlsx = 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: "M14.5 19.5a1.125 1.125 0 0 1-1.125 1.125H10.75A1.125 1.125 0 0 1 9.625 19.5v-5.25a1.125 1.125 0 1 1 2.25 0v4.125h1.5A1.125 1.125 0 0 1 14.5 19.5M8.03 13.333a1.126 1.126 0 0 0-1.571.26l-.96 1.345-.96-1.344a1.126 1.126 0 1 0-1.83 1.312l1.406 1.969-1.406 1.969a1.126 1.126 0 1 0 1.83 1.312l.96-1.348.96 1.348a1.126 1.126 0 1 0 1.83-1.312l-1.405-1.969 1.406-1.969a1.124 1.124 0 0 0-.26-1.573m11.487 3.005c-.48-.324-1.06-.491-1.574-.64a8 8 0 0 1-.742-.242c.23-.111.91-.122 1.506.03a1.125 1.125 0 0 0 .573-2.174 6.5 6.5 0 0 0-1.125-.174c-.93-.062-1.687.101-2.26.485a2.3 2.3 0 0 0-1.001 1.665c-.104.82.233 1.525.947 1.986.449.29.972.441 1.477.587.281.084.744.216.926.331a.2.2 0 0 1-.02.067c-.128.145-.898.168-1.536-.006a1.124 1.124 0 1 0-.606 2.167 6 6 0 0 0 1.52.205c.606 0 1.287-.11 1.85-.483a2.32 2.32 0 0 0 1.026-1.687c.115-.874-.23-1.624-.962-2.117zM2.875 10.125V3.75A1.875 1.875 0 0 1 4.75 1.875h9a1.13 1.13 0 0 1 .796.33l5.25 5.25a1.13 1.13 0 0 1 .329.795v1.875a1.125 1.125 0 1 1-2.25 0V9.75h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5H5.125v6a1.125 1.125 0 1 1-2.25 0M14.5 7.5h2.156L14.5 5.344z"
}));
}
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: "M14.625 19.5a.75.75 0 0 1-.75.75H11.25a.75.75 0 0 1-.75-.75v-5.25a.75.75 0 1 1 1.5 0v4.5h1.875a.75.75 0 0 1 .75.75m-5.94-5.86a.75.75 0 0 0-1.045.174l-1.265 1.771-1.265-1.77a.75.75 0 1 0-1.218.87l1.561 2.19-1.563 2.19a.75.75 0 0 0 1.218.87l1.267-1.77 1.265 1.77a.75.75 0 0 0 1.218-.87l-1.561-2.19 1.563-2.19a.75.75 0 0 0-.174-1.045m9.277 2.42c-.375-.108-.764-.22-.98-.36-.117-.077-.116-.093-.105-.178a.43.43 0 0 1 .187-.344c.432-.292 1.439-.161 1.858-.052a.75.75 0 1 0 .382-1.452c-.198-.051-1.969-.489-3.078.26a1.93 1.93 0 0 0-.839 1.4c-.187 1.49 1.28 1.914 2.156 2.167 1.131.327 1.23.461 1.198.712-.029.226-.118.312-.201.368-.431.287-1.421.146-1.832.033a.751.751 0 1 0-.402 1.448c.465.123.943.186 1.424.188.546 0 1.153-.094 1.64-.418a1.95 1.95 0 0 0 .86-1.428c.207-1.623-1.341-2.076-2.268-2.344M3.75 10.5V3.75a1.5 1.5 0 0 1 1.5-1.5h9a.75.75 0 0 1 .53.22l5.25 5.25a.75.75 0 0 1 .22.53v2.25a.75.75 0 1 1-1.5 0V9h-4.5a.75.75 0 0 1-.75-.75v-4.5H5.25v6.75a.75.75 0 1 1-1.5 0M15 7.5h2.689L15 4.81z"
}));
};
IconDocXlsx.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 { IconDocXlsx as default };
IconDocXlsx;