UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

35 lines (33 loc) 973 B
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function HexagonIcon({ 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: "lucide lucide-hexagon", 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: "M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" })); } const ForwardRef = React.forwardRef(HexagonIcon); module.exports = ForwardRef;