@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
57 lines (55 loc) • 4.93 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function RedisIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
preserveAspectRatio: "xMinYMin meet",
viewBox: "0 0 256 256.052",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
height: 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", {
fill: colored ? '#912626' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#912626') ? 'white' : 'currentColor'),
d: "M245.97 185.546c-13.662 7.121-84.434 36.22-99.501 44.075-15.067 7.856-23.437 7.78-35.34 2.09-11.902-5.69-87.216-36.112-100.783-42.597C3.566 185.874 0 183.138 0 180.554v-25.876s98.05-21.345 113.879-27.024c15.828-5.679 21.32-5.884 34.79-.95 13.472 4.936 94.018 19.468 107.331 24.344l-.006 25.51c.002 2.558-3.07 5.364-10.024 8.988"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#c6302b' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#c6302b') ? 'white' : 'currentColor'),
d: "M245.965 159.823c-13.661 7.118-84.431 36.218-99.498 44.072-15.066 7.857-23.436 7.78-35.338 2.09-11.903-5.686-87.214-36.113-100.78-42.594-13.566-6.485-13.85-10.948-.524-16.166 13.326-5.22 88.224-34.604 104.055-40.283 15.828-5.677 21.319-5.884 34.789-.948 13.471 4.934 83.819 32.934 97.13 37.81 13.316 4.88 13.827 8.9.166 16.02"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#912626' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#912626') ? 'white' : 'currentColor'),
d: "M245.97 143.677c-13.662 7.122-84.434 36.22-99.501 44.078-15.067 7.853-23.437 7.777-35.34 2.087-11.903-5.687-87.216-36.112-100.783-42.597C3.566 144.005 0 141.273 0 138.688V112.81s98.05-21.344 113.879-27.023c15.828-5.68 21.32-5.885 34.79-.95 13.473 4.935 94.019 19.464 107.331 24.34l-.006 25.513c.002 2.557-3.07 5.363-10.024 8.987"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#c6302b' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#c6302b') ? 'white' : 'currentColor'),
d: "M245.965 117.954c-13.661 7.12-84.431 36.218-99.498 44.075-15.066 7.854-23.436 7.777-35.338 2.087-11.903-5.686-87.214-36.112-100.78-42.594-13.566-6.483-13.85-10.946-.524-16.166 13.326-5.217 88.225-34.604 104.055-40.282 15.828-5.678 21.319-5.884 34.789-.95 13.471 4.935 83.819 32.934 97.13 37.81 13.316 4.88 13.827 8.9.166 16.02"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#912626' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#912626') ? 'white' : 'currentColor'),
d: "M245.97 100.257c-13.662 7.12-84.434 36.22-99.501 44.077-15.067 7.854-23.437 7.777-35.34 2.087-11.903-5.687-87.216-36.112-100.783-42.594C3.566 100.584 0 97.85 0 95.269v-25.88s98.05-21.343 113.879-27.021c15.828-5.68 21.32-5.884 34.79-.95 13.473 4.935 94.019 19.464 107.331 24.34l-.006 25.513c.002 2.555-3.07 5.36-10.024 8.986"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#c6302b' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#c6302b') ? 'white' : 'currentColor'),
d: "M245.965 74.534c-13.661 7.12-84.431 36.22-99.498 44.073-15.066 7.854-23.436 7.777-35.338 2.09-11.902-5.69-87.214-36.113-100.779-42.596-13.567-6.482-13.85-10.947-.525-16.166C23.151 56.717 98.05 27.334 113.88 21.654c15.828-5.68 21.319-5.883 34.789-.948 13.471 4.935 83.819 32.934 97.13 37.81 13.316 4.877 13.827 8.898.166 16.018"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#fff' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#fff') ? 'white' : 'currentColor'),
d: "M159.283 49.36l-22.01 2.286-4.927 11.856-7.958-13.23-25.415-2.284 18.964-6.84-5.69-10.497 17.755 6.944 16.738-5.48-4.524 10.855 17.067 6.39m-28.251 57.519L89.955 89.842l58.86-9.035-17.783 26.072M74.082 55.95c17.375 0 31.46 5.46 31.46 12.194 0 6.736-14.085 12.195-31.46 12.195s-31.46-5.46-31.46-12.195c0-6.734 14.085-12.194 31.46-12.194"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#621b1c' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#621b1c') ? 'white' : 'currentColor'),
d: "M185.295 52.602l34.836 13.766-34.806 13.753-.03-27.52"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#9a2928' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#9a2928') ? 'white' : 'currentColor'),
d: "M146.755 67.847l38.54-15.245.03 27.519-3.779 1.478-34.791-13.752"
}));
}
const ForwardRef = React.forwardRef(RedisIcon);
export default ForwardRef;