UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.69 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 IconFilePng = 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: "M5.062 13.876h-1.5A1.125 1.125 0 0 0 2.437 15v5.25a1.125 1.125 0 0 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.5m16.5 1.956c0 .29-.111.569-.312.778a3.19 3.19 0 0 1-2.313 1.015c-1.86 0-3.375-1.682-3.375-3.75s1.515-3.75 3.375-3.75a3.13 3.13 0 0 1 1.755.544 1.124 1.124 0 1 1-1.259 1.865.9.9 0 0 0-.496-.159c-.609 0-1.125.688-1.125 1.5s.516 1.5 1.125 1.5a.9.9 0 0 0 .254-.039 1.125 1.125 0 0 1 .871-1.835h.375a1.125 1.125 0 0 1 1.125 1.124zm-6.75-4.581v5.25a1.124 1.124 0 0 1-2.04.656l-1.71-2.396v1.74a1.125 1.125 0 1 1-2.25 0V15a1.125 1.125 0 0 1 2.04-.657l1.71 2.396V15a1.125 1.125 0 0 1 2.25 0m-10.5-3a1.125 1.125 0 0 0 1.125-1.125v-6h7.125v4.5a1.125 1.125 0 0 0 1.125 1.125h4.5v.375a1.125 1.125 0 0 0 2.25 0V9a1.12 1.12 0 0 0-.329-.795l-5.25-5.25a1.13 1.13 0 0 0-.796-.33h-9A1.875 1.875 0 0 0 3.187 4.5v6.376A1.125 1.125 0 0 0 4.312 12m10.5-5.907L16.97 8.25h-2.157z" })); } 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: "M5.438 14.25h-1.5a.75.75 0 0 0-.75.75v5.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.25m15.375 1.582a.75.75 0 0 1-.209.518 2.82 2.82 0 0 1-2.041.9c-1.655 0-3-1.514-3-3.375s1.345-3.374 3-3.374a2.76 2.76 0 0 1 1.545.479.752.752 0 1 1-.844 1.244 1.24 1.24 0 0 0-.701-.223c-.827 0-1.5.843-1.5 1.874s.673 1.875 1.5 1.875c.27-.003.533-.092.75-.255v-.495a.75.75 0 1 1 0-1.5h.75a.75.75 0 0 1 .75.75zm-6.375-4.581v5.25a.75.75 0 0 1-1.36.435l-2.39-3.342v2.906a.75.75 0 1 1-1.5 0V15a.75.75 0 0 1 1.36-.435l2.39 3.342V15a.75.75 0 1 1 1.5 0M4.313 12a.75.75 0 0 0 .75-.75V4.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-.531l-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 0 0 .75.75m10.5-6.44 2.69 2.69h-2.69z" })); }; IconFilePng.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 { IconFilePng as default }; IconFilePng;