UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.66 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 IconFolderMinus = 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: "M8.625 13.688a1.125 1.125 0 0 1 1.125-1.125h4.5a1.125 1.125 0 1 1 0 2.25h-4.5a1.125 1.125 0 0 1-1.125-1.125m13.5-5.25v10.583a1.794 1.794 0 0 1-1.792 1.792H3.692a1.82 1.82 0 0 1-1.817-1.817V5.063A1.875 1.875 0 0 1 3.75 3.188h4.913a1.88 1.88 0 0 1 1.407.63l2.437 2.745h7.743a1.875 1.875 0 0 1 1.875 1.875m-18-1.875h5.37l-1-1.125h-4.37zm15.75 2.25H4.125v9.75h15.75z" })); } 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 6.75h-7.94L9.75 4.19a1.5 1.5 0 0 0-1.06-.44H3.75a1.5 1.5 0 0 0-1.5 1.5v13.56a1.444 1.444 0 0 0 1.442 1.441h16.641a1.42 1.42 0 0 0 1.417-1.416V8.25a1.5 1.5 0 0 0-1.5-1.5M8.69 5.25l1.5 1.5H3.75v-1.5zm11.56 13.5H3.75V8.25h16.5zm-10.5-6h4.5a.75.75 0 1 1 0 1.5h-4.5a.75.75 0 1 1 0-1.5" })); }; IconFolderMinus.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 { IconFolderMinus as default }; IconFolderMinus;