UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

35 lines (33 loc) 922 B
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function EditorIcon({ title, titleId, size, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", width: size ? typeof size === "string" ? sizeMap[size] : size : "16px", strokeWidth: 2, className: "feather feather-edit-3", viewBox: "0 0 24 24", "aria-hidden": "true", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { d: "M12 20h9M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z" })); } const ForwardRef = React.forwardRef(EditorIcon); module.exports = ForwardRef;