UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

39 lines (37 loc) 1.14 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function LabelIcon({ 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: "#F4AA41", d: "M24.7 16.4l-17 6v27.9l17 6h40v-40h-40v.1zm-8.5 25c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5z" }), /*#__PURE__*/React.createElement("path", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.7 16.4l-17 6v27.9l17 6h40v-40h-40v.1zm-8.5 25c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5z" })); } const ForwardRef = React.forwardRef(LabelIcon); module.exports = ForwardRef;