UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

31 lines (29 loc) 2.85 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function ElectronIcon({ 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", { d: "M10.409 24.405l-.023-.001a.402.402 0 00-.378.541l-.001-.003c1.342 3.747 3.537 6.053 6.005 6.053a5.892 5.892 0 004.749-3.352l.015-.036a.402.402 0 00-.688-.416l-.001.002a5.15 5.15 0 01-4.05 2.995l-.025.003c-2.05 0-4.008-2.058-5.248-5.521a.404.404 0 00-.355-.266h-.001zm17.501-1.709h.001a1.12 1.12 0 11-.735 1.965l.001.001-.008-.015a.41.41 0 00-.118-.113l-.002-.001a1.12 1.12 0 01.86-1.836zm-23.82 0a1.12 1.12 0 11-.967.555l-.003.005a1.12 1.12 0 01.97-.56zm2.578-5.02h-.019a.402.402 0 00-.297.673 25.278 25.278 0 005.87 4.666l.122.065c5.517 3.185 11.379 4.105 14.447 2.298a1.925 1.925 0 10-.547-.604l-.005-.009c-2.805 1.517-8.286.625-13.493-2.381a24.564 24.564 0 01-5.786-4.561l-.013-.014a.4.4 0 00-.277-.131h-.001zM16 15.369a1.393 1.393 0 101.372 1.089l.002.009a1.4 1.4 0 00-1.365-1.098H16zm3.598-7.794a.386.386 0 00-.084.01h.003c-2.709.626-5.099 1.604-7.277 2.902l.115-.064c-5.711 3.297-9.488 8.116-9.197 11.711a1.922 1.922 0 10.934-.242h-.001c-.047 0-.094.004-.141.007-.125-3.199 3.428-7.674 8.807-10.78a23.805 23.805 0 016.764-2.716l.164-.032a.403.403 0 00-.086-.795h-.002zm3.372-.365a.401.401 0 00-.011.804h.001a5.16 5.16 0 014.677 2.019l.009.013c1.024 1.773.225 4.492-2.147 7.294a.401.401 0 10.613.521l.001-.001c2.566-3.032 3.462-6.081 2.23-8.216a5.912 5.912 0 00-5.397-2.431l.025-.002zM9.158 7.188a5.967 5.967 0 00-5.472 2.418l-.012.017a5.875 5.875 0 00-.52 2.438c0 1.331.435 2.56 1.17 3.553l-.011-.016a.403.403 0 00.746-.208.393.393 0 00-.05-.193l.001.002a5.198 5.198 0 01-1.049-3.144c0-.733.151-1.43.422-2.063l-.013.034c1.026-1.777 3.79-2.443 7.413-1.783a.402.402 0 10.146-.79h-.002a14.793 14.793 0 00-2.767-.262h-.002zm6.856-5.38a1.12 1.12 0 11-.967.555l-.003.005a1.12 1.12 0 01.97-.56zm0-.804h-.001a1.924 1.924 0 101.703 2.819l.005-.011c2.775 1.584 4.807 6.839 4.807 12.949l.001.183a24.41 24.41 0 01-1.078 7.198l.046-.173a.402.402 0 00.767.242l.001-.003c.678-2.174 1.068-4.674 1.068-7.264l-.001-.194v.01c0-6.489-2.214-12.104-5.399-13.749.001-.028.004-.055.004-.084a1.923 1.923 0 00-1.924-1.923z" })); } const ForwardRef = React.forwardRef(ElectronIcon); export default ForwardRef;