UNPKG

@activecollab/components

Version:

ActiveCollab Components

59 lines 2.25 kB
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["withDocuments"]; import React from "react"; const FolderIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => { let { withDocuments = false } = _ref, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement("svg", _extends({ width: 100, height: 100, viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", ref: svgRef }, props), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", { x: "-14.9%", y: "-112.5%", width: "129.8%", height: "275%", filterUnits: "objectBoundingBox", id: "image_svg__a" }, /*#__PURE__*/React.createElement("feOffset", { dy: -2, in: "SourceAlpha", result: "shadowOffsetOuter1" }), /*#__PURE__*/React.createElement("feGaussianBlur", { stdDeviation: 2, in: "shadowOffsetOuter1", result: "shadowBlurOuter1" }), /*#__PURE__*/React.createElement("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0", in: "shadowBlurOuter1" })), /*#__PURE__*/React.createElement("path", { id: "image_svg__b", d: "M4 28h47v8H4z" })), /*#__PURE__*/React.createElement("g", { fillRule: "evenodd" }, /*#__PURE__*/React.createElement("path", { d: "M90 20H50L40 10H10C4.45 10 0 14.45 0 20v60c0 5.523 4.477 10 10 10h80c5.523 0 10-4.477 10-10V30c0-5.55-4.5-10-10-10z", fill: "#32178B" }), withDocuments ? /*#__PURE__*/React.createElement("path", { d: "M8 20h42v9H4v-5a4 4 0 014-4z", fill: "#FFFFFF" }) : null, /*#__PURE__*/React.createElement("use", { filter: "url(#image_svg__a)", xlinkHref: "#image_svg__b", fill: "black" }), /*#__PURE__*/React.createElement("use", { xlinkHref: "#image_svg__b", fill: "#D8D8D8" }), /*#__PURE__*/React.createElement("path", { d: "M90 20H50l-10 8H5a5 5 0 00-5 5v47c0 5.523 4.477 10 10 10h80c5.523 0 10-4.477 10-10V30c0-5.55-4.5-10-10-10z", fill: "#5D2BFF" }))); }); FolderIcon.displayName = "FolderIcon"; export default FolderIcon; //# sourceMappingURL=FolderIcon.js.map