@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
38 lines (36 loc) • 2.26 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function JupyterKernelGatewayIcon({
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: "M5.124 13.404V5.316h1.044v3.9h.036c.216-.312.432-.6.636-.864l2.472-3.036h1.296L7.68 8.748l3.156 4.656H9.6L6.948 9.432l-.78.888v3.084H5.124z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#8F8F8F' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#8F8F8F') ? 'white' : 'currentColor'),
d: "M16.56 9.18v3.372c0 1.344-.276 2.148-.828 2.664-.576.516-1.393.696-2.124.696-.697 0-1.465-.168-1.933-.48l.264-.816c.384.252.985.468 1.704.468 1.08 0 1.872-.564 1.872-2.04v-.636h-.024c-.311.54-.947.972-1.848.972-1.44 0-2.472-1.224-2.472-2.832 0-1.968 1.285-3.072 2.629-3.072 1.007 0 1.547.516 1.811.996h.024l.037-.876h.936c-.037.408-.049.888-.049 1.584zm-1.056 1.752V9.888c0-.18-.012-.336-.06-.468-.193-.624-.697-1.128-1.477-1.128-1.008 0-1.728.852-1.728 2.196 0 1.14.588 2.088 1.716 2.088.66 0 1.248-.408 1.464-1.08.06-.18.085-.384.085-.564z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'),
d: "M10.36 17.018c-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.36 3.004c4.067 0 7.64 1.46 9.488 3.614a10.116 10.116 0 00-18.976 0c1.848-2.16 5.404-3.614 9.488-3.614z"
}));
}
const ForwardRef = React.forwardRef(JupyterKernelGatewayIcon);
module.exports = ForwardRef;