@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
39 lines (37 loc) • 1.01 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function KeyOutlineIcon({
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-key-round",
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: "M2 18v3c0 .6.4 1 1 1h4v-3h3v-3h2l1.4-1.4a6.5 6.5 0 10-4-4z"
}), /*#__PURE__*/React.createElement("circle", {
cx: 16.5,
cy: 7.5,
r: 0.5
}));
}
const ForwardRef = React.forwardRef(KeyOutlineIcon);
export default ForwardRef;