@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
50 lines (48 loc) • 4.99 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function JavaIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "6.527 4.399 540.977 540.906",
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("path", {
fill: colored ? '#e76f00' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#e76f00') ? 'white' : 'currentColor'),
d: "M414.372 430.945h-2.037v-1.14h5.486v1.14h-2.025v5.688h-1.424zm10.942.297h-.032l-2.02 5.393h-.924l-2.006-5.393h-.024v5.393h-1.343v-6.828h1.976l1.86 4.835 1.854-4.835h1.969v6.828h-1.311z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#5382a1' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#5382a1') ? 'white' : 'currentColor'),
d: "M231.949 291.324s-14.178 8.245 10.09 11.035c29.4 3.354 44.426 2.873 76.825-3.259 0 0 8.518 5.341 20.414 9.967-72.63 31.128-164.376-1.803-107.33-17.743m-8.874-40.62s-15.902 11.771 8.384 14.283c31.406 3.24 56.208 3.505 99.125-4.759 0 0 5.937 6.018 15.27 9.309-87.814 25.678-185.623 2.025-122.78-18.833"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#e76f00' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#e76f00') ? 'white' : 'currentColor'),
d: "M297.893 181.799c17.896 20.604-4.701 39.146-4.701 39.146s45.439-23.458 24.57-52.833c-19.49-27.395-34.437-41.005 46.48-87.934 0-.001-127.013 31.721-66.35 101.621"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#5382a1' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#5382a1') ? 'white' : 'currentColor'),
d: "M393.952 321.369s10.492 8.646-11.555 15.333c-41.923 12.7-174.488 16.535-211.314.507-13.238-5.76 11.587-13.752 19.396-15.429 8.144-1.766 12.798-1.437 12.798-1.437-14.722-10.371-95.157 20.363-40.857 29.166 148.084 24.015 269.944-10.814 231.532-28.14M238.767 208.617s-67.431 16.016-23.88 21.832c18.39 2.462 55.048 1.905 89.193-.956 27.906-2.354 55.928-7.358 55.928-7.358s-9.84 4.214-16.96 9.074c-68.474 18.01-200.755 9.631-162.673-8.79 32.206-15.568 58.392-13.802 58.392-13.802m120.963 67.614c69.608-36.171 37.425-70.932 14.96-66.248-5.506 1.146-7.961 2.139-7.961 2.139s2.045-3.202 5.947-4.588c44.44-15.624 78.619 46.081-14.346 70.521 0 0 1.079-.962 1.4-1.824"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#e76f00' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#e76f00') ? 'white' : 'currentColor'),
d: "M317.763 4.399s38.55 38.562-36.563 97.862c-60.233 47.567-13.735 74.689-.025 105.678-35.158-31.723-60.96-59.647-43.65-85.637 25.406-38.151 95.792-56.648 80.238-117.903"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#5382a1' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#5382a1') ? 'white' : 'currentColor'),
d: "M245.607 374.246c66.815 4.277 169.417-2.373 171.846-33.987 0 0-4.67 11.984-55.22 21.503-57.026 10.731-127.363 9.479-169.08 2.601.002-.002 8.54 7.067 52.454 9.883"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#e76f00' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#e76f00') ? 'white' : 'currentColor'),
d: "M234.657 495.049c-6.303 5.467-12.96 8.536-18.934 8.536-8.527 0-13.134-5.113-13.134-13.314 0-8.871 4.937-15.357 24.739-15.357h7.328v20.135m17.393 19.623V453.93c0-15.518-8.85-25.756-30.188-25.756-12.457 0-23.37 3.076-32.238 6.999l2.56 10.752c6.983-2.563 16.022-4.949 24.894-4.949 12.292 0 17.58 4.949 17.58 15.181v7.678h-6.135c-29.865 0-43.337 11.593-43.337 28.993 0 15.018 8.878 23.554 25.594 23.554 10.745 0 18.766-4.437 26.264-10.929l1.36 9.221zm58.043 0H288.4l-26.106-84.96h18.944l16.198 52.199 3.6 15.699c8.196-22.698 13.993-45.726 16.892-67.898h18.427c-4.938 27.976-13.822 58.684-26.264 84.96m83.214-19.623c-6.315 5.467-12.983 8.536-18.958 8.536-8.512 0-13.131-5.113-13.131-13.314 0-8.871 4.947-15.357 24.748-15.357h7.34v20.135m17.39 19.623V453.93c0-15.518-8.87-25.756-30.185-25.756-12.465 0-23.381 3.076-32.246 6.999l2.557 10.752c6.985-2.563 16.04-4.949 24.906-4.949 12.283 0 17.579 4.949 17.579 15.181v7.678h-6.146c-29.873 0-43.34 11.593-43.34 28.993 0 15.018 8.87 23.554 25.584 23.554 10.752 0 18.77-4.437 26.28-10.929l1.366 9.221zm-244.58 14.427c-4.958 7.239-12.966 12.966-21.733 16.206l-8.587-10.105c6.673-3.424 12.396-8.954 15.055-14.104 2.3-4.581 3.252-10.485 3.252-24.604v-96.995h18.478v95.666c-.001 18.875-1.51 26.5-6.465 33.936"
}));
}
const ForwardRef = React.forwardRef(JavaIcon);
module.exports = ForwardRef;