@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
42 lines (40 loc) • 1.09 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function DatabaseIcon({
title,
titleId,
size,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
stroke: "currentColor",
strokeLinecap: "round",
strokeLinejoin: "round",
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
strokeWidth: 2,
className: "feather feather-data1base",
viewBox: "0 0 24 24",
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("ellipse", {
cx: 12,
cy: 5,
rx: 9,
ry: 3
}), /*#__PURE__*/React.createElement("path", {
d: "M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"
}), /*#__PURE__*/React.createElement("path", {
d: "M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"
}));
}
const ForwardRef = React.forwardRef(DatabaseIcon);
module.exports = ForwardRef;