@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
45 lines (43 loc) • 2.36 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function JupiterIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 512 512",
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("circle", {
cx: 255.997,
cy: 255.995,
r: 255.995,
fill: "#ffac12"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#d89210' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#d89210') ? 'white' : 'currentColor'),
d: "M256.001 0c141.383 0 255.997 114.616 255.997 255.998S397.384 511.993 256.001 511.993V0z"
}), /*#__PURE__*/React.createElement("g", {
fill: "#f9d026"
}, /*#__PURE__*/React.createElement("path", {
d: "M489.914 151.847c-120.859-1.816-180.247-25.321-233.912-47.879-47.372-19.911-90.285-39.086-167.085-41.946a259.241 259.241 0 00-13.944 12.95C38.16 111.785 14.92 157.024 5.218 204.479c70.274 16.41 157.675 78.401 250.548 85.056.079.006.159.009.238.014 83.363 5.863 171.123-46.303 254.844-57.877a255.797 255.797 0 00-20.934-79.825zM308.147 381.73c-18.717 0-36.016.981-52.145 2.659-83.794 8.722-135.809 36.396-188.674 44.629a258.603 258.603 0 007.643 8c49.99 49.99 115.511 74.984 181.031 74.982 65.515-.002 131.029-24.996 181.016-74.982a259.39 259.39 0 0011.915-12.77c-21.362-17.518-65.101-42.518-140.786-42.518z"
})), /*#__PURE__*/React.createElement("g", {
fill: "#e7c224"
}, /*#__PURE__*/React.createElement("path", {
d: "M256.002 289.549c83.363 5.863 171.123-46.303 254.844-57.877a255.782 255.782 0 00-20.933-79.825c-120.859-1.816-180.247-25.321-233.912-47.879v185.581zM256.002 384.389V512c65.515-.002 131.029-24.996 181.016-74.982a259.39 259.39 0 0011.915-12.77c-21.362-17.518-65.102-42.519-140.786-42.519-18.717.001-36.017.981-52.145 2.66z"
})));
}
const ForwardRef = React.forwardRef(JupiterIcon);
module.exports = ForwardRef;