UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

35 lines (33 loc) 1.87 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function JupyterNotebookIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'), viewBox: "0 0 20 20", "aria-hidden": "true", width: size ? typeof size === "string" ? sizeMap[size] : size : "16px", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'), d: "M10.411 17.293c-4.066 0-7.64-1.46-9.488-3.614a10.116 10.116 0 0018.976 0c-1.843 2.155-5.403 3.614-9.488 3.614zM10.411 3.279c4.067 0 7.64 1.459 9.489 3.614a10.117 10.117 0 00-18.977 0c1.848-2.16 5.404-3.614 9.488-3.614z" }), /*#__PURE__*/React.createElement("path", { fill: colored ? '#4E4E4E' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#4E4E4E') ? 'white' : 'currentColor'), d: "M5.411 6.536a.469.469 0 01.469-.469h2.658c.767 0 1.448.369 1.875.938a2.34 2.34 0 011.877-.938h2.653a.469.469 0 01.469.469v6.563a.469.469 0 01-.47.468h-2.816a1.406 1.406 0 00-.994.412l-.39.388a.469.469 0 01-.662 0l-.388-.388a1.407 1.407 0 00-.995-.412H5.88a.469.469 0 01-.469-.469V6.536zm4.532 6.453l.002-3.171V8.41a1.406 1.406 0 00-1.407-1.405h-2.19v5.625h2.349c.44 0 .873.124 1.246.358zm.94-4.578l-.003 4.576a2.345 2.345 0 011.245-.357h2.348V7.005H12.29a1.406 1.406 0 00-1.406 1.406z" })); } const ForwardRef = React.forwardRef(JupyterNotebookIcon); module.exports = ForwardRef;