@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
31 lines (29 loc) • 967 B
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function EuroIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "-75 -60 120 120",
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: "M-69.843-15h102.02L28.02-5H-74zm0 20h93.706l-4.157 10H-74zM39.302-32.14a50 50 0 100 64.28v14.044a60 60 0 114.232-88.503z"
}));
}
const ForwardRef = React.forwardRef(EuroIcon);
export default ForwardRef;