@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 4.36 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-sun-moon" 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.695 1.057 C 11.466 1.129,11.256 1.299,11.128 1.516 L 11.020 1.700 11.020 3.003 L 11.020 4.306 11.141 4.503 C 11.543 5.156,12.457 5.156,12.859 4.503 L 12.980 4.306 12.980 3.003 L 12.980 1.700 12.872 1.516 C 12.628 1.101,12.150 0.915,11.695 1.057 M4.444 4.025 C 4.187 4.153,3.983 4.416,3.929 4.689 C 3.882 4.927,3.935 5.251,4.049 5.419 C 4.172 5.599,5.554 6.988,5.743 7.120 C 6.180 7.426,6.833 7.297,7.131 6.846 C 7.339 6.531,7.335 6.050,7.120 5.743 C 6.908 5.438,5.514 4.091,5.320 4.003 C 5.055 3.883,4.713 3.892,4.444 4.025 M18.680 4.003 C 18.487 4.091,17.091 5.439,16.882 5.740 C 16.480 6.318,16.817 7.147,17.505 7.269 C 17.770 7.316,18.058 7.260,18.255 7.122 C 18.346 7.059,18.757 6.668,19.168 6.253 C 19.707 5.710,19.939 5.447,19.998 5.314 C 20.295 4.642,19.830 3.918,19.102 3.921 C 18.946 3.921,18.796 3.951,18.680 4.003 M11.400 7.044 C 9.761 7.229,8.261 8.290,7.526 9.785 C 7.158 10.533,7.020 11.136,7.020 12.000 C 7.020 12.670,7.078 13.044,7.268 13.600 C 7.846 15.291,9.253 16.525,11.040 16.907 C 11.511 17.008,12.489 17.008,12.960 16.907 C 14.488 16.580,15.748 15.630,16.433 14.288 C 16.803 13.562,16.976 12.895,16.978 12.179 C 16.980 11.784,16.970 11.718,16.878 11.540 C 16.610 11.018,15.922 10.845,15.451 11.181 C 14.951 11.537,14.805 11.621,14.562 11.688 C 13.279 12.043,12.049 10.940,12.273 9.635 C 12.329 9.307,12.456 9.041,12.723 8.693 C 12.830 8.553,12.938 8.363,12.963 8.269 C 13.065 7.892,12.919 7.451,12.616 7.219 C 12.332 7.003,12.084 6.967,11.400 7.044 M10.252 10.090 C 10.266 10.360,10.305 10.688,10.340 10.820 C 10.726 12.268,11.732 13.274,13.180 13.660 C 13.312 13.695,13.640 13.734,13.910 13.748 C 14.180 13.761,14.400 13.783,14.400 13.796 C 14.400 13.839,14.000 14.238,13.790 14.404 C 13.530 14.609,13.220 14.767,12.839 14.886 C 12.407 15.021,11.594 15.021,11.160 14.886 C 10.181 14.581,9.417 13.821,9.125 12.861 C 8.987 12.405,8.981 11.643,9.113 11.180 C 9.215 10.823,9.416 10.429,9.631 10.165 C 9.788 9.973,10.166 9.600,10.204 9.600 C 10.217 9.600,10.239 9.820,10.252 10.090 M1.695 11.057 C 1.466 11.129,1.256 11.299,1.128 11.516 C 1.037 11.672,1.020 11.746,1.020 12.000 C 1.020 12.256,1.036 12.328,1.131 12.489 C 1.256 12.702,1.449 12.864,1.670 12.943 C 1.885 13.020,4.115 13.020,4.330 12.943 C 4.551 12.864,4.744 12.702,4.869 12.489 C 4.964 12.328,4.980 12.256,4.980 12.000 C 4.980 11.746,4.963 11.672,4.872 11.516 C 4.740 11.293,4.533 11.128,4.290 11.055 C 4.039 10.979,1.937 10.981,1.695 11.057 M19.695 11.057 C 19.466 11.129,19.256 11.299,19.128 11.516 C 19.037 11.672,19.020 11.746,19.020 12.000 C 19.020 12.256,19.036 12.328,19.131 12.489 C 19.256 12.702,19.449 12.864,19.670 12.943 C 19.885 13.020,22.115 13.020,22.330 12.943 C 22.551 12.864,22.744 12.702,22.869 12.489 C 22.964 12.328,22.980 12.256,22.980 12.000 C 22.980 11.746,22.963 11.672,22.872 11.516 C 22.740 11.293,22.533 11.128,22.290 11.055 C 22.039 10.979,19.937 10.981,19.695 11.057 M5.880 16.803 C 5.687 16.891,4.291 18.239,4.082 18.540 C 3.680 19.118,4.017 19.947,4.705 20.069 C 4.970 20.116,5.258 20.059,5.455 19.921 C 5.645 19.788,7.028 18.400,7.151 18.219 C 7.347 17.930,7.322 17.426,7.095 17.108 C 6.841 16.751,6.297 16.614,5.880 16.803 M17.244 16.825 C 16.740 17.076,16.546 17.767,16.851 18.220 C 16.971 18.398,18.354 19.788,18.543 19.920 C 18.858 20.141,19.341 20.139,19.665 19.917 C 20.099 19.618,20.219 18.971,19.920 18.543 C 19.708 18.238,18.314 16.891,18.120 16.803 C 17.855 16.683,17.513 16.692,17.244 16.825 M11.695 19.057 C 11.466 19.129,11.256 19.299,11.128 19.516 L 11.020 19.700 11.020 21.003 L 11.020 22.306 11.141 22.503 C 11.543 23.156,12.457 23.156,12.859 22.503 L 12.980 22.306 12.980 21.003 L 12.980 19.700 12.872 19.516 C 12.628 19.101,12.150 18.915,11.695 19.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SunMoonIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const SunMoon = SunMoonIcon;