@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.09 kB
JavaScript
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-rainbow" 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.280 6.023 C 11.203 6.032,10.951 6.059,10.720 6.083 C 8.832 6.283,6.991 7.023,5.360 8.235 C 4.751 8.688,3.684 9.755,3.226 10.367 C 1.956 12.070,1.210 14.023,1.037 16.103 C 0.969 16.915,0.996 17.267,1.144 17.508 C 1.541 18.152,2.458 18.154,2.854 17.510 C 2.963 17.334,2.973 17.281,3.005 16.750 C 3.068 15.673,3.187 15.003,3.466 14.160 C 4.221 11.877,5.891 9.971,8.060 8.920 C 9.379 8.280,10.507 8.023,12.000 8.023 C 13.493 8.023,14.621 8.280,15.940 8.920 C 18.109 9.971,19.779 11.877,20.534 14.160 C 20.813 15.003,20.932 15.673,20.995 16.750 C 21.027 17.281,21.037 17.334,21.146 17.510 C 21.541 18.153,22.459 18.152,22.856 17.508 C 23.004 17.266,23.031 16.921,22.962 16.109 C 22.785 14.011,22.045 12.071,20.770 10.363 C 20.316 9.755,19.247 8.686,18.640 8.235 C 17.045 7.049,15.365 6.360,13.423 6.096 C 13.000 6.038,11.574 5.990,11.280 6.023 M11.540 10.023 C 10.715 10.102,10.250 10.200,9.620 10.427 C 7.221 11.291,5.462 13.434,5.082 15.956 C 5.009 16.444,4.986 17.083,5.035 17.264 C 5.099 17.498,5.286 17.737,5.508 17.867 C 5.673 17.964,5.743 17.980,6.000 17.980 C 6.257 17.980,6.327 17.964,6.492 17.867 C 6.710 17.739,6.904 17.495,6.955 17.284 C 6.974 17.205,7.010 16.897,7.035 16.600 C 7.061 16.303,7.114 15.934,7.154 15.780 C 7.615 14.006,9.002 12.614,10.760 12.161 C 11.693 11.920,12.875 11.983,13.752 12.320 C 15.281 12.907,16.434 14.197,16.846 15.780 C 16.886 15.934,16.939 16.303,16.965 16.600 C 16.990 16.897,17.026 17.205,17.045 17.284 C 17.096 17.495,17.290 17.739,17.508 17.867 C 17.673 17.964,17.743 17.980,18.000 17.980 C 18.257 17.980,18.327 17.964,18.492 17.867 C 18.714 17.737,18.901 17.498,18.965 17.264 C 19.045 16.972,18.961 16.016,18.795 15.340 C 18.130 12.618,15.844 10.513,13.102 10.098 C 12.726 10.041,11.813 9.997,11.540 10.023 M11.499 14.040 C 10.363 14.246,9.454 15.055,9.115 16.160 C 9.045 16.390,9.023 16.559,9.022 16.883 C 9.020 17.285,9.026 17.315,9.141 17.503 C 9.537 18.147,10.457 18.156,10.849 17.520 C 10.927 17.392,10.971 17.249,10.999 17.031 C 11.020 16.862,11.064 16.661,11.095 16.585 C 11.227 16.271,11.646 16.000,12.000 16.000 C 12.354 16.000,12.773 16.271,12.905 16.585 C 12.936 16.661,12.980 16.862,13.001 17.031 C 13.049 17.410,13.184 17.647,13.452 17.828 C 13.923 18.144,14.554 17.998,14.859 17.503 C 14.974 17.315,14.980 17.285,14.978 16.883 C 14.977 16.559,14.955 16.390,14.885 16.160 C 14.586 15.184,13.811 14.407,12.861 14.129 C 12.500 14.023,11.832 13.980,11.499 14.040 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const RainbowIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Rainbow = RainbowIcon;