UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

62 lines (60 loc) 2.08 kB
const React = require("react"); const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function KeyIcon({ 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: "M33.536 31.991c-1.402-4.288-.225-9.41 3.428-13.063 5.018-5.018 12.808-5.364 17.4-.773s4.244 12.381-.774 17.4c-4.057 4.056-10.434 5.512-14.268 2.588" }), /*#__PURE__*/React.createElement("path", { fill: "#F4AA41", stroke: "#F4AA41", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M33.652 31.736l-2.434 2.451-16.574 16.327v7.146h7.399v-4.576h5.011v-5.782h4.986l2.351-2.373v-4.302h1.97l3.091-3.09" }), /*#__PURE__*/React.createElement("path", { fill: "#E27022", d: "M15.985 53.346v-1.907l15.913-15.565.952.974z" }), /*#__PURE__*/React.createElement("circle", { cx: 48.52, cy: 23.998, r: 3.952, fill: "#E27022" }), /*#__PURE__*/React.createElement("g", { fill: "none", stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 2 }, /*#__PURE__*/React.createElement("path", { d: "M30.735 34.656L14.303 50.68v7.24h7.565v-4.636h5.125v-5.858h5.098l2.405-2.404v-4.358h2.015" }), /*#__PURE__*/React.createElement("circle", { cx: 48.52, cy: 23.998, r: 3.952 }), /*#__PURE__*/React.createElement("path", { d: "M34.226 31.178c-1.43-4.238-.347-9.22 3.18-12.695 4.845-4.771 12.465-4.889 17.022-.263s4.322 12.244-.523 17.016c-3.917 3.857-9.648 4.673-14.108 2.4" }))); } const ForwardRef = React.forwardRef(KeyIcon); module.exports = ForwardRef;