UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

45 lines (43 loc) 2.08 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function FolderIcon({ title, titleId, size, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", fill: "currentColor", "aria-hidden": "true", ref: svgRef, width: size ? typeof size === "string" ? sizeMap[size] : size : "16px", "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { fill: "#D0CFCE", d: "M58.831 59.603a2.104 2.104 0 00.922-1.742V24.608H16.835V56.527c0 .045-.003.09-.008.134a7.627 7.627 0 01-.336 1.32 6.544 6.544 0 01-.275.7c-.03.069-.062.136-.095.206-.06.12-.118.243-.185.358-.127.235-.267.471-.431.707l42.159.01a2.076 2.076 0 001.167-.359z" }), /*#__PURE__*/React.createElement("path", { fill: "#9B9B9A", d: "M12.134 60.037c-.04-.521 2.265-.252 2.783-.331 1.343-.205 1.747-2.592 1.883-4.796l.502-29.349s-.388-1.318-.075-1.318l2.908.072h37.803L58 20.366l-.004-.004c-.017.282-.608-1.937-.81-1.765-.004.002.092-.038 0 0 0 0 .135 0 0 0-.553 0-.178-1.649-.178-1.649l-27.338-.002c-.75 0-.426-3.652-.823-3.829 0 0-1.8-1.042-2.337-1.057l-11.343-.006c-1.102 0-3.208 1.9-3.208 3.003 0 0-.931 41.27-.956 41.16l-.024-.017 1.191 4.024-.031-.168c0-.007-.005-.012-.005-.019z" }), /*#__PURE__*/React.createElement("g", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 2 }, /*#__PURE__*/React.createElement("path", { d: "M57.008 20.304v-3.356l-27.338-.002a.364.364 0 01-.36-.369l-.068-1.517c-.116-1.787-1.34-3.003-2.996-3.003H14.959a3 3 0 00-3 3V56" }), /*#__PURE__*/React.createElement("path", { d: "M16.961 55.37c-.147 2.618-1.917 4.3-3.83 4.592l43.915.01a3 3 0 003-3V25.316a1 1 0 00-1-1H17.965a1 1 0 00-1 1L16.96 55.37z" }))); } const ForwardRef = React.forwardRef(FolderIcon); module.exports = ForwardRef;