UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.59 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-cable" 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="M2.695 2.057 C 2.466 2.129,2.256 2.299,2.128 2.516 C 2.022 2.697,2.020 2.715,2.007 3.489 L 1.994 4.277 1.859 4.360 C 1.648 4.491,1.318 4.877,1.195 5.137 C 1.014 5.519,0.990 5.725,1.010 6.697 C 1.026 7.472,1.039 7.614,1.118 7.860 C 1.495 9.033,2.520 9.877,3.697 9.984 L 3.997 10.011 4.009 14.095 L 4.021 18.180 4.126 18.563 C 4.595 20.263,5.750 21.417,7.437 21.871 C 7.778 21.963,7.895 21.974,8.500 21.974 C 9.105 21.974,9.222 21.963,9.563 21.871 C 11.250 21.417,12.405 20.263,12.874 18.563 L 12.979 18.180 13.000 12.100 C 13.020 6.339,13.025 6.008,13.094 5.800 C 13.522 4.520,14.744 3.793,16.020 4.060 C 16.741 4.211,17.395 4.713,17.715 5.362 C 18.008 5.956,17.999 5.800,17.999 10.125 L 18.000 13.990 17.714 14.018 C 16.505 14.137,15.497 14.960,15.118 16.140 C 15.039 16.386,15.026 16.528,15.010 17.303 C 14.990 18.275,15.014 18.481,15.195 18.863 C 15.315 19.117,15.629 19.487,15.855 19.642 L 15.994 19.738 16.007 20.522 L 16.020 21.307 16.141 21.503 C 16.543 22.156,17.457 22.156,17.859 21.503 C 17.979 21.308,17.980 21.300,17.993 20.653 L 18.007 20.000 19.000 20.000 L 19.993 20.000 20.007 20.653 C 20.020 21.300,20.021 21.308,20.141 21.503 C 20.543 22.156,21.457 22.156,21.859 21.503 L 21.980 21.307 21.993 20.522 L 22.006 19.738 22.145 19.642 C 22.348 19.503,22.670 19.137,22.779 18.922 C 22.979 18.527,23.009 18.298,22.990 17.320 C 22.975 16.526,22.962 16.387,22.882 16.140 C 22.699 15.570,22.383 15.100,21.911 14.695 C 21.473 14.320,20.893 14.078,20.286 14.018 L 20.000 13.990 20.000 10.060 C 20.000 5.752,20.002 5.796,19.759 5.071 C 19.094 3.086,17.113 1.810,15.045 2.034 C 14.227 2.123,13.476 2.410,12.857 2.871 C 12.075 3.453,11.538 4.184,11.241 5.071 C 10.991 5.816,11.000 5.565,10.999 11.935 C 10.999 18.395,11.013 18.033,10.723 18.620 C 10.439 19.195,9.932 19.646,9.320 19.868 C 9.052 19.965,8.965 19.976,8.500 19.976 C 8.035 19.976,7.948 19.965,7.680 19.868 C 7.068 19.646,6.561 19.195,6.277 18.620 C 5.993 18.047,6.001 18.186,6.001 13.876 L 6.000 10.011 6.302 9.984 C 7.480 9.877,8.505 9.034,8.882 7.860 C 8.961 7.614,8.974 7.473,8.990 6.700 C 9.009 5.736,8.974 5.463,8.783 5.085 C 8.667 4.857,8.332 4.479,8.141 4.360 L 8.006 4.277 7.993 3.489 C 7.980 2.712,7.978 2.697,7.871 2.514 C 7.479 1.848,6.521 1.848,6.129 2.514 C 6.024 2.693,6.019 2.726,6.007 3.350 L 5.993 4.000 5.000 4.000 L 4.007 4.000 3.993 3.350 C 3.981 2.728,3.975 2.692,3.872 2.516 C 3.628 2.101,3.150 1.915,2.695 2.057 M7.000 6.554 C 7.000 7.352,6.890 7.633,6.484 7.872 L 6.300 7.980 5.000 7.980 L 3.700 7.980 3.516 7.872 C 3.415 7.813,3.284 7.700,3.225 7.623 C 3.038 7.377,3.000 7.202,3.000 6.575 L 3.000 6.000 5.000 6.000 L 7.000 6.000 7.000 6.554 M20.310 16.061 C 20.452 16.103,20.571 16.178,20.697 16.303 C 20.948 16.554,21.000 16.751,21.000 17.447 L 21.000 18.000 19.000 18.000 L 17.000 18.000 17.000 17.447 C 17.000 16.753,17.052 16.554,17.301 16.306 C 17.587 16.019,17.656 16.007,18.963 16.003 C 19.876 16.001,20.147 16.012,20.310 16.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const CableIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Cable = CableIcon;