@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
33 lines (31 loc) • 1.46 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function Null2Icon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
baseProfile: "full",
viewBox: "0 0 76 76",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
strokeLinejoin: "round",
d: "M37.608 57c-2.945 0-5.379-.973-7.302-2.92L28.5 57H24l3.925-6.347c-1.461-2.997-2.192-6.967-2.192-11.91 0-6.494 1.09-11.407 3.271-14.742C31.184 20.668 34.334 19 38.45 19c3.025 0 5.469.926 7.332 2.778L47.5 19H52l-3.861 6.244c1.418 3.069 2.127 7.268 2.127 12.6 0 6.223-1.112 10.971-3.337 14.245C44.704 55.363 41.597 57 37.609 57zm.609-34.305C32.739 22.695 30 27.969 30 38.52c0 2.98.245 5.509.736 7.588l12.716-20.563c-1.27-1.9-3.015-2.85-5.235-2.85zm-.167 30.61c5.3 0 7.95-5.013 7.95-15.041 0-3.287-.26-6.053-.78-8.3L32.54 50.466c1.322 1.893 3.158 2.84 5.51 2.84z"
}));
}
const ForwardRef = React.forwardRef(Null2Icon);
export default ForwardRef;