UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

35 lines (33 loc) 2.14 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function JupyterTraitletIcon({ 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 21 21", "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.536 17.147c-4.067 0-7.64-1.46-9.488-3.614a10.116 10.116 0 0018.976 0c-1.844 2.155-5.404 3.614-9.488 3.614zM10.536 3.133c4.066 0 7.64 1.46 9.488 3.614a10.117 10.117 0 00-18.976 0c1.848-2.16 5.403-3.614 9.488-3.614z" }), /*#__PURE__*/React.createElement("path", { fill: colored ? '#4E4E4E' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#4E4E4E') ? 'white' : 'currentColor'), d: "M9.526 14.383l-.22-1.384a2.932 2.932 0 01-.44-.209 3.019 3.019 0 01-.405-.274l-1.296.593-1.02-1.8 1.185-.868a1.305 1.305 0 01-.028-.225 5.241 5.241 0 010-.45c.004-.084.013-.16.028-.225l-1.186-.868 1.021-1.8 1.296.593c.117-.096.252-.187.406-.275.154-.088.3-.154.44-.197l.219-1.395h2.02l.22 1.384c.139.05.287.118.444.203.157.084.291.177.4.28l1.296-.593 1.021 1.8-1.185.846c.014.073.023.152.027.236a5.391 5.391 0 010 .466c-.004.08-.013.158-.027.231l1.185.856-1.02 1.8-1.296-.592c-.117.095-.25.188-.4.28-.151.091-.3.16-.446.203l-.22 1.383h-2.02zm1.01-2.965c.395 0 .732-.139 1.01-.417.278-.278.417-.615.417-1.01s-.139-.732-.417-1.01a1.376 1.376 0 00-1.01-.417c-.396 0-.732.139-1.01.417a1.376 1.376 0 00-.418 1.01c0 .395.14.732.418 1.01.278.278.614.417 1.01.417z" })); } const ForwardRef = React.forwardRef(JupyterTraitletIcon); module.exports = ForwardRef;