UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.07 kB
import { jsx as _jsx } from "react/jsx-runtime"; /* eslint-disable no-shadow-restricted-names */ import { Icon } from "@react-three/uikit"; import { forwardRef } from "react"; const text = `<svg class="lucide lucide-key" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.640 1.068 C 20.483 1.121,19.870 1.719,15.897 5.687 L 11.335 10.244 10.957 10.008 C 9.093 8.844,6.803 8.688,4.820 9.591 C 2.848 10.489,1.494 12.242,1.090 14.420 C 0.998 14.915,0.998 16.085,1.090 16.580 C 1.604 19.351,3.649 21.396,6.420 21.910 C 6.915 22.002,8.085 22.002,8.580 21.910 C 11.351 21.396,13.396 19.351,13.910 16.580 C 13.957 16.329,13.977 16.002,13.977 15.500 C 13.977 14.998,13.957 14.671,13.910 14.420 C 13.753 13.573,13.432 12.733,13.015 12.075 L 12.755 11.665 14.126 10.294 L 15.497 8.922 16.419 9.834 C 17.411 10.816,17.581 10.940,18.071 11.042 C 18.387 11.108,18.925 11.070,19.209 10.962 C 19.573 10.824,19.827 10.603,21.064 9.355 C 22.130 8.279,22.240 8.155,22.374 7.880 C 22.658 7.296,22.658 6.705,22.374 6.113 C 22.249 5.852,22.139 5.725,21.329 4.910 L 20.423 4.000 21.127 3.290 C 21.514 2.899,21.864 2.517,21.904 2.440 C 21.957 2.340,21.979 2.213,21.979 2.000 C 21.980 1.745,21.964 1.672,21.872 1.516 C 21.617 1.083,21.122 0.903,20.640 1.068 M19.800 6.220 L 20.579 7.000 19.540 8.040 L 18.501 9.080 17.710 8.290 L 16.920 7.501 17.950 6.470 C 18.516 5.904,18.989 5.440,19.000 5.440 C 19.011 5.440,19.371 5.791,19.800 6.220 M8.060 11.044 C 9.549 11.227,10.886 12.184,11.540 13.537 C 12.261 15.026,12.099 16.841,11.129 18.143 C 10.547 18.925,9.816 19.462,8.929 19.759 C 7.980 20.077,7.020 20.077,6.071 19.759 C 4.090 19.095,2.818 17.127,3.033 15.060 C 3.297 12.527,5.540 10.736,8.060 11.044 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const KeyIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Key = KeyIcon;