@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
33 lines (31 loc) • 1.94 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function PrometheusIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
preserveAspectRatio: "xMidYMid",
viewBox: "0 0 257.028 257",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
fill: colored ? '#da4e31' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#da4e31') ? 'white' : 'currentColor'),
d: "M128.515.667c-70.69 0-128 57.304-128 127.997 0 70.69 57.31 127.998 128 127.998s128-57.308 128-127.998c0-70.694-57.312-127.997-128-127.997zm0 239.56c-20.112 0-36.419-13.435-36.419-30.004h72.838c0 16.566-16.306 30.004-36.419 30.004zm60.153-39.94H68.356V178.47H188.67v21.816h-.002zm-.432-33.045H68.7c-.398-.458-.804-.91-1.188-1.375-12.315-14.954-15.216-22.76-18.032-30.716-.048-.262 14.933 3.06 25.556 5.45 0 0 5.466 1.265 13.458 2.722-7.673-8.994-12.23-20.428-12.23-32.116 0-25.658 19.68-48.079 12.58-66.201 6.91.562 14.3 14.583 14.8 36.505 7.346-10.152 10.42-28.69 10.42-40.056 0-11.769 7.755-25.44 15.512-25.907-6.915 11.396 1.79 21.165 9.53 45.4 2.902 9.103 2.532 24.423 4.772 34.138.744-20.178 4.213-49.62 17.014-59.784-5.647 12.8.836 28.818 5.27 36.518 7.154 12.424 11.49 21.836 11.49 39.638 0 11.936-4.407 23.173-11.84 31.958 8.452-1.586 14.29-3.016 14.29-3.016l27.45-5.355c.001-.002-3.988 16.401-19.315 32.197z"
}));
}
const ForwardRef = React.forwardRef(PrometheusIcon);
module.exports = ForwardRef;