UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

65 lines (63 loc) 2.75 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function RainbowIcon({ title, titleId, size, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", fill: "currentColor", "aria-hidden": "true", ref: svgRef, width: size ? typeof size === "string" ? sizeMap[size] : size : "16px", "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { fill: "#ea5a47", d: "M64.05 7.95v5.121c-27.56 0-51.03 23.42-51.03 50.98H7.953c0-30.99 25.11-56.1 56.1-56.1z" }), /*#__PURE__*/React.createElement("path", { fill: "#f4aa41", d: "M64.05 13.07v5.12c-24.4 0-45.86 21.46-45.86 45.86h-5.178c0-27.56 23.48-50.98 51.04-50.98z" }), /*#__PURE__*/React.createElement("path", { fill: "#fcea2b", d: "M64.05 18.19v5.121c-21.51 0-40.74 19.25-40.74 40.74h-5.121c0-24.4 21.46-45.86 45.86-45.86z" }), /*#__PURE__*/React.createElement("path", { fill: "#b1cc33", d: "M64.05 23.31v5.121c-18.88 0-35.61 16.83-35.61 35.62h-5.131c0-21.48 19.23-40.74 40.74-40.74z" }), /*#__PURE__*/React.createElement("path", { fill: "#92d3f5", d: "M64.05 28.43v5.12c-16.34 0-30.5 14.22-30.5 30.5h-5.11c0-18.78 16.73-35.62 35.61-35.62z" }), /*#__PURE__*/React.createElement("path", { fill: "#b399c8", d: "M64.05 33.55v5.121c-14.02 0-25.38 11.36-25.38 25.38h-5.121c0-16.28 14.16-30.5 30.5-30.5z" }), /*#__PURE__*/React.createElement("g", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 2 }, /*#__PURE__*/React.createElement("path", { d: "M64.05 7.95v5.121c-27.56 0-51.04 23.42-51.04 50.98H7.947c0-30.99 25.11-56.1 56.1-56.1z" }), /*#__PURE__*/React.createElement("path", { d: "M64.05 13.07v5.12c-24.4 0-45.86 21.46-45.86 45.86h-5.174c0-27.56 23.47-50.98 51.03-50.98z" }), /*#__PURE__*/React.createElement("path", { d: "M64.05 18.19v5.121c-21.51 0-40.74 19.25-40.74 40.74h-5.121c0-24.4 21.46-45.86 45.86-45.86z" }), /*#__PURE__*/React.createElement("path", { d: "M64.05 23.31v5.121c-18.88 0-35.61 16.83-35.61 35.62h-5.131c0-21.48 19.23-40.74 40.74-40.74z" }), /*#__PURE__*/React.createElement("path", { d: "M64.05 28.43v5.12c-16.34 0-30.5 14.22-30.5 30.5h-5.11c0-18.78 16.73-35.62 35.61-35.62z" }), /*#__PURE__*/React.createElement("path", { d: "M64.05 33.55v5.121c-14.02 0-25.38 11.36-25.38 25.38h-5.121c0-16.28 14.16-30.5 30.5-30.5z" }))); } const ForwardRef = React.forwardRef(RainbowIcon); module.exports = ForwardRef;