@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
33 lines (31 loc) • 2 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function OpenStackIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 167.37 163.66",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
"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("g", {
fill: "#e52a4a"
}, /*#__PURE__*/React.createElement("path", {
d: "M152.56 163.61H16.27c-.47 0-.91 0-1.41.05C6.57 163.3.04 156.47.05 148.18V112.8c0-.91.15-1.28 1.2-1.28 11.8.05 23.6.05 35.39 0 .91 0 1.21.22 1.19 1.18-.13 1.96-.1 3.92.09 5.87.53 4.26 4.2 7.42 8.49 7.33h74.49a8.25 8.25 0 005.52-1.94 8.076 8.076 0 003.04-6.37c0-1.67.05-3.33 0-5 0-.83.17-1.1 1.06-1.09 5.34.05 10.67 0 16.01 0h19.71c.91 0 1.13.25 1.13 1.15v35.52c-.04 8.26-6.54 15.05-14.8 15.45zM83.71.01h67.82c8.58-.12 15.64 6.74 15.76 15.32V50.96c0 .91-.15 1.24-1.17 1.24-11.87-.04-23.74-.04-35.6 0-.91 0-1.19-.22-1.14-1.14.08-1.45 0-2.9 0-4.35 0-5.32-3.47-8.86-8.8-8.96H46.94c-5.13 0-8.75 3.16-9.11 8-.12 1.62 0 3.27 0 4.9 0 1.63 0 1.52-1.47 1.52H1.3c-1 0-1.24-.27-1.24-1.26C.1 39.15.1 27.4.06 15.65-.03 7.1 6.83.1 15.38 0h68.33zM148.34 62.94h17.86c.91 0 1.13.25 1.13 1.15-.04 11.83-.04 23.67 0 35.52 0 .91-.23 1.21-1.19 1.2h-35.61c-.91 0-1.1-.3-1.1-1.17v-35.6c0-.83.18-1.08 1.07-1.08 5.95 0 11.9-.02 17.85-.02zM37.79 81.88v17.85c0 .83-.23 1.02-1.03 1.02H1.05c-.8 0-1.05-.18-1.05-1.02.04-11.93.04-23.87 0-35.81 0-.84.25-1.01 1.04-1h35.71c.91 0 1.04.33 1.04 1.12v17.84z"
})));
}
const ForwardRef = React.forwardRef(OpenStackIcon);
module.exports = ForwardRef;