UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.03 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-moon-star" 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.080 2.045 C 9.507 2.184,7.883 2.751,6.540 3.630 C 5.905 4.045,5.499 4.378,4.919 4.958 C 2.953 6.926,1.919 9.544,2.013 12.320 C 2.084 14.439,2.752 16.328,4.033 18.040 C 4.430 18.570,5.305 19.464,5.800 19.847 C 7.242 20.961,8.787 21.624,10.600 21.907 C 11.247 22.008,12.753 22.008,13.400 21.907 C 15.214 21.624,16.762 20.959,18.200 19.847 C 18.637 19.509,19.509 18.637,19.847 18.200 C 21.167 16.494,21.892 14.547,21.986 12.458 C 22.008 11.985,22.001 11.863,21.943 11.688 C 21.849 11.405,21.584 11.142,21.310 11.061 C 20.876 10.932,20.620 11.012,20.160 11.419 C 19.077 12.379,17.872 12.851,16.500 12.851 C 15.405 12.851,14.415 12.549,13.495 11.934 C 12.321 11.150,11.447 9.792,11.222 8.400 C 11.143 7.913,11.143 7.087,11.222 6.600 C 11.384 5.597,11.879 4.606,12.618 3.802 C 12.930 3.463,12.978 3.355,12.979 3.000 C 12.980 2.745,12.964 2.672,12.872 2.516 C 12.747 2.303,12.550 2.141,12.316 2.058 C 12.134 1.994,11.703 1.990,11.080 2.045 M19.695 2.057 C 19.466 2.129,19.256 2.299,19.128 2.516 C 19.025 2.692,19.019 2.728,19.007 3.350 L 18.993 4.000 18.443 4.000 C 17.648 4.000,17.366 4.111,17.128 4.516 C 17.037 4.672,17.020 4.746,17.020 5.000 C 17.020 5.256,17.036 5.328,17.131 5.489 C 17.256 5.702,17.449 5.864,17.670 5.943 C 17.768 5.978,18.022 5.997,18.407 5.998 L 18.993 6.000 19.007 6.653 C 19.020 7.300,19.021 7.308,19.141 7.503 C 19.543 8.156,20.457 8.156,20.859 7.503 C 20.979 7.308,20.980 7.300,20.993 6.653 L 21.007 6.000 21.593 5.998 C 21.978 5.997,22.232 5.978,22.330 5.943 C 22.551 5.864,22.744 5.702,22.869 5.489 C 22.964 5.328,22.980 5.256,22.980 5.000 C 22.980 4.746,22.963 4.672,22.872 4.516 C 22.634 4.111,22.352 4.000,21.557 4.000 L 21.007 4.000 20.993 3.350 C 20.981 2.728,20.975 2.692,20.872 2.516 C 20.628 2.101,20.150 1.915,19.695 2.057 M9.840 4.335 C 9.840 4.343,9.797 4.447,9.745 4.565 C 9.593 4.910,9.372 5.630,9.281 6.077 C 8.928 7.807,9.269 9.763,10.191 11.300 C 10.770 12.266,11.734 13.230,12.700 13.809 C 14.420 14.841,16.597 15.130,18.498 14.580 C 18.797 14.493,19.336 14.300,19.610 14.182 C 19.710 14.139,19.701 14.214,19.557 14.627 C 19.263 15.471,18.728 16.412,18.153 17.100 C 17.388 18.015,16.523 18.693,15.471 19.200 C 13.267 20.265,10.733 20.265,8.529 19.200 C 7.738 18.819,7.124 18.394,6.504 17.801 C 4.495 15.878,3.630 13.155,4.161 10.422 C 4.624 8.037,6.243 5.933,8.460 4.835 C 9.085 4.526,9.840 4.252,9.840 4.335 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const MoonStarIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const MoonStar = MoonStarIcon;