UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

39 lines (37 loc) 1.01 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function IoIcon({ title, titleId, size, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", 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("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5 }, /*#__PURE__*/React.createElement("path", { strokeMiterlimit: 1.5, d: "M14 19a7 7 0 100-14 7 7 0 000 14z" }), /*#__PURE__*/React.createElement("path", { d: "M3 19V5" }))); } const ForwardRef = React.forwardRef(IoIcon); module.exports = ForwardRef;