UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

37 lines (35 loc) 1.41 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function GpuCardIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", 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", { fill: "currentColor" }, /*#__PURE__*/React.createElement("path", { d: "M4 8a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm7.5-1.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z" }), /*#__PURE__*/React.createElement("path", { d: "M0 1.5A.5.5 0 01.5 1h1a.5.5 0 01.5.5V4h13.5a.5.5 0 01.5.5v7a.5.5 0 01-.5.5H2v2.5a.5.5 0 01-1 0V2H.5a.5.5 0 01-.5-.5zm5.5 4a2.5 2.5 0 100 5 2.5 2.5 0 000-5zM9 8a2.5 2.5 0 105 0 2.5 2.5 0 00-5 0z" }), /*#__PURE__*/React.createElement("path", { d: "M3 12.5h3.5v1a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5v-1zm4 1v-1h4v1a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5z" }))); } const ForwardRef = React.forwardRef(GpuCardIcon); export default ForwardRef;