@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
33 lines (31 loc) • 940 B
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function PlusThinIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fillRule: "evenodd",
clipRule: "evenodd",
viewBox: "0 0 24 24",
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
d: "M11 11V0h1v11h11v1H12v11h-1V12H0v-1h11z"
}));
}
const ForwardRef = React.forwardRef(PlusThinIcon);
module.exports = ForwardRef;