@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
32 lines (30 loc) • 1.79 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function NvidiaCudaIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
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 ? '#80bc00' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#80bc00') ? 'white' : 'currentColor'),
d: "M12.447 12.265v-1.674c.163-.012.327-.02.494-.026 4.577-.143 7.581 3.934 7.581 3.934S17.278 19 13.8 19a4.2 4.2 0 01-1.353-.217v-5.071c1.782.215 2.14 1 3.212 2.788l2.383-2.009a6.312 6.312 0 00-4.672-2.281 8.606 8.606 0 00-.923.055m0-5.529v2.5c.164-.013.329-.024.494-.03 6.366-.214 10.513 5.221 10.513 5.221s-4.764 5.792-9.726 5.792a7.4 7.4 0 01-1.281-.112v1.545a8.528 8.528 0 001.067.069c4.618 0 7.958-2.358 11.192-5.15.535.43 2.731 1.474 3.182 1.932-3.075 2.574-10.241 4.649-14.3 4.649-.392 0-.769-.024-1.138-.06v2.172H30V6.736zm0 12.051v1.32c-4.271-.762-5.457-5.2-5.457-5.2a9.234 9.234 0 015.457-2.64v1.447h-.006a4.1 4.1 0 00-3.184 1.456s.782 2.811 3.19 3.62m-7.586-4.077a10.576 10.576 0 017.586-4.122V9.236C6.848 9.685 2 14.427 2 14.427s2.746 7.939 10.447 8.665v-1.44c-5.647-.711-7.586-6.939-7.586-6.939z"
}));
}
const ForwardRef = React.forwardRef(NvidiaCudaIcon);
module.exports = ForwardRef;