UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.7 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-component" 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="M11.580 1.044 C 11.471 1.067,11.264 1.140,11.120 1.208 C 10.888 1.317,10.707 1.483,9.412 2.775 C 8.035 4.149,7.957 4.235,7.820 4.525 C 7.571 5.051,7.566 5.681,7.804 6.210 C 7.928 6.484,8.013 6.578,9.347 7.921 C 10.293 8.873,10.834 9.388,10.986 9.480 C 11.583 9.842,12.417 9.842,13.014 9.480 C 13.166 9.388,13.707 8.873,14.653 7.921 C 15.983 6.582,16.072 6.483,16.194 6.212 C 16.428 5.696,16.428 5.065,16.195 4.550 C 16.072 4.276,15.987 4.182,14.682 2.868 C 13.922 2.103,13.210 1.414,13.100 1.338 C 12.990 1.263,12.794 1.164,12.664 1.118 C 12.388 1.021,11.868 0.986,11.580 1.044 M13.190 4.210 L 14.360 5.381 13.180 6.560 L 12.000 7.739 10.820 6.560 L 9.640 5.381 10.810 4.210 C 11.453 3.567,11.989 3.040,12.000 3.040 C 12.011 3.040,12.547 3.567,13.190 4.210 M4.840 7.697 C 4.384 7.824,4.275 7.914,2.828 9.354 C 2.063 10.117,1.382 10.824,1.317 10.926 C 1.096 11.269,1.024 11.534,1.024 12.000 C 1.024 12.466,1.096 12.731,1.316 13.074 C 1.382 13.176,2.071 13.891,2.848 14.662 C 4.178 15.983,4.277 16.072,4.548 16.194 C 5.064 16.427,5.695 16.428,6.210 16.196 C 6.484 16.072,6.578 15.987,7.921 14.653 C 8.873 13.707,9.388 13.166,9.480 13.014 C 9.842 12.418,9.842 11.583,9.481 10.987 C 9.390 10.838,8.870 10.290,7.942 9.365 C 6.471 7.900,6.375 7.822,5.900 7.694 C 5.653 7.628,5.082 7.630,4.840 7.697 M18.110 7.683 C 18.028 7.703,17.848 7.775,17.710 7.844 C 17.498 7.950,17.246 8.182,16.058 9.365 C 15.130 10.290,14.610 10.838,14.519 10.987 C 14.158 11.583,14.158 12.418,14.520 13.014 C 14.612 13.166,15.127 13.707,16.079 14.653 C 17.422 15.987,17.516 16.072,17.790 16.196 C 18.305 16.428,18.936 16.427,19.452 16.194 C 19.723 16.072,19.822 15.983,21.152 14.662 C 21.929 13.891,22.618 13.176,22.684 13.074 C 22.904 12.731,22.976 12.466,22.976 12.000 C 22.976 11.534,22.904 11.269,22.683 10.926 C 22.618 10.824,21.937 10.117,21.172 9.354 C 19.711 7.901,19.614 7.821,19.140 7.694 C 18.918 7.635,18.342 7.629,18.110 7.683 M6.560 13.180 L 5.380 14.360 4.200 13.180 L 3.020 12.000 4.200 10.820 L 5.380 9.640 6.560 10.820 L 7.740 12.000 6.560 13.180 M19.800 13.180 L 18.620 14.360 17.440 13.180 L 16.260 12.000 17.440 10.820 L 18.620 9.640 19.800 10.820 L 20.980 12.000 19.800 13.180 M11.580 14.284 C 11.471 14.307,11.264 14.380,11.120 14.448 C 10.889 14.557,10.706 14.723,9.468 15.955 C 8.702 16.717,8.015 17.431,7.941 17.542 C 7.732 17.855,7.637 18.187,7.636 18.601 C 7.636 19.008,7.679 19.200,7.848 19.539 C 7.948 19.739,8.204 20.016,9.354 21.172 C 10.116 21.937,10.824 22.618,10.926 22.683 C 11.269 22.904,11.534 22.976,12.000 22.976 C 12.466 22.976,12.731 22.904,13.074 22.684 C 13.176 22.618,13.891 21.929,14.662 21.152 C 15.983 19.822,16.072 19.723,16.194 19.452 C 16.428 18.936,16.428 18.305,16.195 17.790 C 16.072 17.517,15.985 17.420,14.682 16.105 C 13.271 14.680,13.006 14.453,12.623 14.338 C 12.362 14.259,11.836 14.232,11.580 14.284 M13.190 17.450 L 14.360 18.621 13.180 19.800 L 12.000 20.979 10.820 19.800 L 9.640 18.621 10.810 17.450 C 11.453 16.807,11.989 16.280,12.000 16.280 C 12.011 16.280,12.547 16.807,13.190 17.450 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ComponentIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Component = ComponentIcon;