@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
47 lines • 3.18 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 IconFileZip = 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: "M17.625 13.876h-1.5A1.125 1.125 0 0 0 15 15v5.25a1.125 1.125 0 1 0 2.25 0v-.376h.375a3 3 0 0 0 0-6m0 3.75h-.375v-1.5h.375a.75.75 0 1 1 0 1.5M13.125 15v5.25a1.125 1.125 0 1 1-2.25 0V15a1.125 1.125 0 1 1 2.25 0M9 20.25a1.125 1.125 0 0 1-1.125 1.125h-3a1.125 1.125 0 0 1-.977-1.682l2.038-3.568H4.875a1.125 1.125 0 1 1 0-2.25h3a1.125 1.125 0 0 1 .977 1.688l-2.038 3.562h1.061A1.125 1.125 0 0 1 9 20.25M20.296 8.205l-5.25-5.25a1.12 1.12 0 0 0-.796-.33h-9A1.875 1.875 0 0 0 3.375 4.5v6.376a1.125 1.125 0 0 0 2.25 0v-6h7.125v4.5a1.125 1.125 0 0 0 1.125 1.125h4.5v.375a1.125 1.125 0 1 0 2.25 0V9c0-.298-.118-.584-.33-.795M15 8.25V6.094l2.156 2.156z"
}));
}
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: "M17.25 14.25h-1.5A.75.75 0 0 0 15 15v5.25a.75.75 0 1 0 1.5 0v-.75h.75a2.625 2.625 0 0 0 0-5.25m0 3.75h-.75v-2.25h.75a1.125 1.125 0 1 1 0 2.25m-4.5-3v5.25a.75.75 0 1 1-1.5 0V15a.75.75 0 1 1 1.5 0M9 20.25a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.656-1.125l2.358-4.124H5.25a.75.75 0 1 1 0-1.5h3a.75.75 0 0 1 .656 1.125L6.543 19.5H8.25a.75.75 0 0 1 .75.75M20.03 8.47l-5.25-5.25a.75.75 0 0 0-.53-.22h-9a1.5 1.5 0 0 0-1.5 1.5v6.75a.75.75 0 1 0 1.5 0V4.5h8.25V9a.75.75 0 0 0 .75.75h4.5v1.5a.75.75 0 1 0 1.5 0V9a.75.75 0 0 0-.22-.53M15 8.25V5.56l2.69 2.69z"
}));
};
IconFileZip.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 { IconFileZip as default };
IconFileZip;