@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
57 lines (55 loc) • 1.47 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function CircledMIcon({
title,
titleId,
size,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 72 72",
fill: "currentColor",
"aria-hidden": "true",
ref: svgRef,
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("g", {
fill: "none",
stroke: "#000",
strokeLinejoin: "round",
strokeWidth: 2
}, /*#__PURE__*/React.createElement("circle", {
cx: 36,
cy: 35.958,
r: 28
}), /*#__PURE__*/React.createElement("path", {
strokeLinecap: "round",
d: "M45.429 46.458v-22L36 43.315l-9.429-18.857v22"
})), /*#__PURE__*/React.createElement("circle", {
cx: 36,
cy: 36,
r: 28,
fill: "#1e50a0"
}), /*#__PURE__*/React.createElement("g", {
fill: "none",
stroke: "#fff",
strokeLinejoin: "round",
strokeWidth: 2
}, /*#__PURE__*/React.createElement("circle", {
cx: 36,
cy: 36,
r: 28
}), /*#__PURE__*/React.createElement("path", {
strokeLinecap: "round",
d: "M45.429 46.5v-22L36 43.357 26.571 24.5v22"
})));
}
const ForwardRef = React.forwardRef(CircledMIcon);
export default ForwardRef;