UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

41 lines (39 loc) 2.74 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function JupyterServerIcon({ 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 ? '#4E4E4E' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#4E4E4E') ? 'white' : 'currentColor'), d: "M7.7 14.975l.321-1.022a4.13 4.13 0 002.17.616c1.246 0 1.974-.658 1.974-1.61 0-.868-.504-1.386-1.778-1.862-1.54-.56-2.492-1.372-2.492-2.688 0-1.47 1.218-2.562 3.052-2.562.952 0 1.666.224 2.072.462l-.336.994c-.294-.182-.924-.448-1.778-.448-1.288 0-1.778.77-1.778 1.414 0 .882.574 1.316 1.876 1.82 1.596.616 2.394 1.386 2.394 2.772 0 1.456-1.064 2.73-3.29 2.73-.91 0-1.904-.28-2.408-.616z" }), /*#__PURE__*/React.createElement("path", { fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'), d: "M10.611 17.933c-4.066 0-7.64-1.46-9.488-3.614a10.116 10.116 0 0018.977 0c-1.844 2.155-5.404 3.614-9.489 3.614zM10.611 3.919c4.067 0 7.64 1.46 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: "M7.7 14.975l.321-1.022a4.13 4.13 0 002.17.616c1.246 0 1.974-.658 1.974-1.61 0-.868-.504-1.386-1.778-1.862-1.54-.56-2.492-1.372-2.492-2.688 0-1.47 1.218-2.562 3.052-2.562.952 0 1.666.224 2.072.462l-.336.994c-.294-.182-.924-.448-1.778-.448-1.288 0-1.778.77-1.778 1.414 0 .882.574 1.316 1.876 1.82 1.596.616 2.394 1.386 2.394 2.772 0 1.456-1.064 2.73-3.29 2.73-.91 0-1.904-.28-2.408-.616z" }), /*#__PURE__*/React.createElement("path", { fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'), d: "M10.611 17.933c-4.066 0-7.64-1.46-9.488-3.614a10.116 10.116 0 0018.977 0c-1.844 2.155-5.404 3.614-9.489 3.614zM10.611 3.919c4.067 0 7.64 1.46 9.489 3.614a10.117 10.117 0 00-18.977 0c1.848-2.16 5.404-3.614 9.488-3.614z" })); } const ForwardRef = React.forwardRef(JupyterServerIcon); module.exports = ForwardRef;