UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

33 lines (31 loc) 1.47 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function DatasetIcon({ title, titleId, size, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", 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", { d: "M28 31.36H4a.36.36 0 01-.36-.36V1A.36.36 0 014 .64h18c.096 0 .188.038.255.105l6 6A.363.363 0 0128.36 7v24a.36.36 0 01-.36.36zm-23.64-.72h23.28V7.36H22a.36.36 0 01-.36-.36V1.36H4.36v29.28zm18-24h4.771L22.36 1.869V6.64zM25 27.36H7a.36.36 0 01-.36-.36V11a.36.36 0 01.36-.36h18a.36.36 0 01.36.36v16a.36.36 0 01-.36.36zm-5.64-.72h5.279v-3.28H19.36v3.28zm-6 0h5.28v-3.28h-5.28v3.28zm-6 0h5.28v-3.28H7.36v3.28zm12-4h5.279v-3.28H19.36v3.28zm-6 0h5.28v-3.28h-5.28v3.28zm-6 0h5.28v-3.28H7.36v3.28zm12-4h5.279v-3.28H19.36v3.28zm-6 0h5.28v-3.28h-5.28v3.28zm-6 0h5.28v-3.28H7.36v3.28zm12-4h5.279v-3.28H19.36v3.28zm-6 0h5.28v-3.28h-5.28v3.28zm-6 0h5.28v-3.28H7.36v3.28z" }), /*#__PURE__*/React.createElement("path", { fill: "none", d: "M0 0h32v32H0z" })); } const ForwardRef = React.forwardRef(DatasetIcon); module.exports = ForwardRef;