@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
70 lines (68 loc) • 3.57 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function KubernetesServiceIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 18.035 17.5",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
"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("g", {
strokeWidth: 0
}, /*#__PURE__*/React.createElement("path", {
fill: colored ? '#326ce5' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#326ce5') ? 'white' : 'currentColor'),
d: "M8.958.463a1.136 1.126 0 00-.435.11l-5.94 2.838a1.136 1.126 0 00-.614.764L.504 10.55a1.136 1.126 0 00.154.864 1.136 1.126 0 00.064.09l4.112 5.111a1.136 1.126 0 00.888.424l6.592-.001a1.136 1.126 0 00.888-.424l4.11-5.112a1.136 1.126 0 00.22-.953l-1.468-6.375a1.136 1.126 0 00-.615-.764L9.51.573a1.136 1.126 0 00-.55-.11z"
}), /*#__PURE__*/React.createElement("path", {
d: "M8.955.002a1.199 1.19 0 00-.459.117l-6.27 2.995a1.199 1.19 0 00-.65.806L.03 10.65a1.199 1.19 0 00.163.912 1.199 1.19 0 00.068.095l4.34 5.396a1.199 1.19 0 00.937.447l6.96-.001a1.199 1.19 0 00.937-.447l4.339-5.397a1.199 1.19 0 00.231-1.006l-1.549-6.73a1.199 1.19 0 00-.648-.806L9.537.118a1.199 1.19 0 00-.582-.116zm.003.461a1.136 1.126 0 01.55.11L15.45 3.41a1.136 1.126 0 01.615.764l1.467 6.375a1.136 1.126 0 01-.22.953l-4.109 5.113a1.136 1.126 0 01-.888.423l-6.593.001a1.136 1.126 0 01-.888-.424l-4.11-5.111a1.136 1.126 0 01-.065-.09 1.136 1.126 0 01-.154-.863l1.465-6.375a1.136 1.126 0 01.614-.764L8.523.574a1.136 1.126 0 01.435-.11z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fill: colored ? '#fff' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#fff') ? 'white' : 'currentColor'),
color: "#000",
fontFamily: "Sans",
fontWeight: 400,
overflow: "visible"
})), /*#__PURE__*/React.createElement("g", {
fillRule: "evenodd",
strokeMiterlimit: 10
}, /*#__PURE__*/React.createElement("path", {
fill: colored ? '#fff' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#fff') ? 'white' : 'currentColor'),
strokeLinecap: "square",
strokeWidth: 0.265,
d: "M3.595 10.756h2.908v2.041H3.595zM7.564 10.756h2.908v2.041H7.564zM11.532 10.756h2.909v2.041h-2.909zM6.714 4.703h4.608v2.042H6.714z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'),
stroke: "#fff",
strokeLinejoin: "round",
strokeWidth: 0.529,
d: "M9.018 6.745V8.75H5.05v2.003M9.018 6.745V8.75h3.966v2.003"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'),
stroke: "#fff",
strokeLinejoin: "round",
strokeWidth: 0.529,
d: "M9.01 6.746v2.005h.016v2.003"
})));
}
const ForwardRef = React.forwardRef(KubernetesServiceIcon);
module.exports = ForwardRef;