@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
40 lines (38 loc) • 2.27 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function JupyterMystLetterIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'),
viewBox: "0 0 128 128",
"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("rect", {
width: 128,
height: 128,
fill: colored ? '#fff' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#fff') ? 'white' : 'currentColor'),
rx: 15
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#616161' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#616161') ? 'white' : 'currentColor'),
d: "M28.023 72v-4.983l6.447-1.108V20.544l-6.447-1.107v-5.023h16.849L63.42 58.118h.237l17.956-43.704h17.363v5.023l-6.447 1.107V65.91l6.447 1.108V72H78.292v-4.983l6.803-1.108V25.053l-.198-.04-18.708 44.93h-5.18l-19.341-44.85-.198.04.277 24.086v16.69l6.961 1.108V72H28.023z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#F37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#F37726') ? 'white' : 'currentColor'),
d: "M7.56 81.762l6.627-2.246c1.347 4.043 3.706 6.944 7.075 8.704 3.331 1.76 7.468 2.639 12.41 2.639h11.51c4.006 0 7.506.842 10.501 2.527 2.995 1.684 5.297 4.286 6.907 7.805 1.535-3.519 3.8-6.12 6.794-7.805 2.995-1.685 6.533-2.527 10.613-2.527h11.567c4.942 0 9.097-.88 12.466-2.64 3.407-1.759 5.765-4.66 7.075-8.703l6.57 2.246c-2.059 7.263-5.334 12.429-9.826 15.498-4.455 3.107-9.883 4.661-16.285 4.661H79.998c-4.23 0-7.506.954-9.827 2.864-2.283 1.909-3.425 4.866-3.425 8.872h-8.254c0-4.006-1.18-6.963-3.538-8.872-2.32-1.91-5.578-2.864-9.77-2.864H33.67c-6.363 0-11.792-1.554-16.284-4.66-4.492-3.07-7.768-8.236-9.826-15.499z"
}));
}
const ForwardRef = React.forwardRef(JupyterMystLetterIcon);
module.exports = ForwardRef;