UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.23 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-router" 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="M14.340 1.027 C 12.447 1.188,10.657 1.906,9.300 3.048 C 8.497 3.724,8.362 3.910,8.362 4.340 C 8.362 4.901,8.791 5.328,9.357 5.328 C 9.673 5.328,9.820 5.254,10.226 4.892 C 10.882 4.308,11.360 3.986,12.040 3.669 C 12.698 3.364,13.320 3.177,14.020 3.075 C 14.469 3.010,15.594 3.011,16.020 3.077 C 17.376 3.287,18.639 3.878,19.657 4.781 C 20.141 5.210,20.228 5.267,20.461 5.308 C 21.175 5.435,21.755 4.855,21.629 4.143 C 21.571 3.819,21.346 3.560,20.580 2.934 C 19.652 2.177,18.156 1.472,16.901 1.202 C 16.158 1.042,15.054 0.966,14.340 1.027 M14.280 5.059 C 13.280 5.207,12.380 5.639,11.613 6.336 C 11.307 6.615,11.192 6.839,11.192 7.156 C 11.192 7.761,11.658 8.198,12.252 8.151 C 12.555 8.126,12.667 8.072,12.980 7.797 C 13.473 7.364,13.868 7.165,14.460 7.051 C 14.830 6.980,15.446 7.002,15.800 7.098 C 16.159 7.195,16.642 7.458,16.941 7.718 C 17.309 8.038,17.556 8.159,17.840 8.159 C 18.363 8.158,18.774 7.784,18.828 7.260 C 18.863 6.929,18.764 6.695,18.468 6.406 C 17.372 5.337,15.806 4.833,14.280 5.059 M14.695 9.057 C 14.466 9.129,14.256 9.299,14.128 9.516 L 14.020 9.700 14.008 11.349 L 13.997 12.998 8.728 13.009 L 3.460 13.020 3.139 13.121 C 2.168 13.428,1.419 14.182,1.114 15.160 L 1.020 15.460 1.020 18.000 L 1.020 20.540 1.114 20.840 C 1.422 21.827,2.173 22.578,3.160 22.886 L 3.460 22.980 12.000 22.980 L 20.540 22.980 20.840 22.886 C 21.827 22.578,22.578 21.827,22.886 20.840 L 22.980 20.540 22.980 18.000 L 22.980 15.460 22.886 15.160 C 22.581 14.181,21.829 13.425,20.861 13.122 L 20.540 13.022 18.272 13.009 L 16.003 12.996 15.992 11.348 L 15.980 9.700 15.872 9.516 C 15.628 9.101,15.150 8.915,14.695 9.057 M20.310 15.061 C 20.589 15.144,20.856 15.411,20.939 15.690 C 21.025 15.978,21.030 20.007,20.945 20.290 C 20.872 20.533,20.707 20.740,20.484 20.872 L 20.300 20.980 12.000 20.980 L 3.700 20.980 3.516 20.872 C 3.415 20.813,3.284 20.700,3.225 20.623 C 3.000 20.327,3.000 20.332,3.000 18.022 C 3.000 15.589,2.998 15.608,3.301 15.306 C 3.627 14.980,2.853 15.007,11.963 15.003 C 19.142 15.000,20.130 15.007,20.310 15.061 M5.695 17.055 C 5.464 17.130,5.255 17.300,5.128 17.516 C 5.037 17.672,5.020 17.746,5.020 18.000 C 5.020 18.257,5.036 18.327,5.133 18.492 C 5.651 19.374,6.998 19.018,6.998 18.000 C 6.998 17.623,6.792 17.281,6.463 17.112 C 6.265 17.010,5.911 16.984,5.695 17.055 M9.695 17.055 C 9.464 17.130,9.255 17.300,9.128 17.516 C 9.037 17.672,9.020 17.746,9.020 18.000 C 9.020 18.257,9.036 18.327,9.133 18.492 C 9.651 19.374,10.998 19.018,10.998 18.000 C 10.998 17.623,10.792 17.281,10.463 17.112 C 10.265 17.010,9.911 16.984,9.695 17.055 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const RouterIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Router = RouterIcon;