UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 4.47 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-sparkles" 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.601 1.064 C 11.184 1.176,10.832 1.472,10.656 1.858 C 10.605 1.969,10.202 3.464,9.760 5.180 C 9.317 6.896,8.919 8.376,8.875 8.469 C 8.785 8.656,8.607 8.824,8.411 8.906 C 8.340 8.936,6.882 9.321,5.171 9.763 C 3.460 10.205,1.982 10.600,1.887 10.642 C 1.499 10.813,1.205 11.147,1.074 11.570 C 0.855 12.272,1.195 13.041,1.858 13.344 C 1.969 13.395,3.464 13.798,5.180 14.240 C 6.896 14.682,8.376 15.081,8.469 15.125 C 8.655 15.214,8.824 15.392,8.904 15.585 C 8.933 15.653,9.318 17.111,9.760 18.825 C 10.202 20.538,10.605 22.032,10.657 22.145 C 10.960 22.806,11.727 23.145,12.426 22.927 C 12.861 22.791,13.182 22.511,13.358 22.114 C 13.402 22.015,13.799 20.534,14.240 18.822 C 14.682 17.111,15.067 15.654,15.095 15.585 C 15.176 15.392,15.345 15.214,15.531 15.125 C 15.624 15.080,17.104 14.683,18.820 14.241 C 20.953 13.693,22.017 13.401,22.185 13.319 C 22.478 13.177,22.728 12.918,22.874 12.607 C 22.965 12.411,22.980 12.328,22.980 12.000 C 22.980 11.672,22.965 11.589,22.874 11.393 C 22.727 11.081,22.478 10.823,22.185 10.681 C 22.019 10.601,20.936 10.304,18.833 9.763 C 17.124 9.323,15.666 8.938,15.593 8.908 C 15.393 8.824,15.216 8.658,15.125 8.469 C 15.081 8.376,14.682 6.896,14.240 5.180 C 13.798 3.464,13.395 1.969,13.344 1.858 C 13.164 1.464,12.815 1.175,12.381 1.062 C 12.091 0.986,11.888 0.987,11.601 1.064 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 M12.557 6.670 C 12.849 7.809,13.140 8.882,13.204 9.057 C 13.492 9.848,14.154 10.509,14.943 10.796 C 15.118 10.859,16.187 11.149,17.320 11.440 C 18.453 11.731,19.397 11.979,19.417 11.991 C 19.437 12.003,18.501 12.259,17.337 12.559 C 14.910 13.185,14.998 13.159,14.596 13.366 C 13.948 13.700,13.451 14.263,13.204 14.945 C 13.141 15.118,12.850 16.192,12.557 17.330 C 12.264 18.468,12.013 19.400,11.999 19.400 C 11.985 19.400,11.734 18.468,11.442 17.330 C 11.150 16.192,10.859 15.118,10.796 14.945 C 10.548 14.262,10.052 13.700,9.404 13.366 C 9.003 13.160,9.092 13.186,6.660 12.557 C 5.494 12.255,4.567 11.997,4.600 11.984 C 4.633 11.971,5.600 11.717,6.749 11.421 C 7.898 11.126,8.974 10.829,9.140 10.763 C 9.898 10.459,10.519 9.819,10.796 9.057 C 10.859 8.882,11.150 7.809,11.443 6.670 C 11.736 5.532,11.987 4.600,12.001 4.600 C 12.015 4.600,12.265 5.532,12.557 6.670 M3.695 16.057 C 3.352 16.164,3.073 16.481,3.018 16.825 C 2.992 16.985,2.986 16.990,2.781 17.036 C 2.515 17.096,2.269 17.276,2.129 17.514 C 2.036 17.672,2.020 17.745,2.020 18.003 C 2.020 18.271,2.034 18.329,2.141 18.503 C 2.287 18.740,2.577 18.946,2.817 18.982 C 2.988 19.007,2.993 19.012,3.018 19.183 C 3.054 19.423,3.260 19.713,3.497 19.859 C 3.671 19.966,3.729 19.980,4.000 19.980 C 4.271 19.980,4.329 19.966,4.503 19.859 C 4.740 19.713,4.946 19.423,4.982 19.183 C 5.007 19.012,5.012 19.007,5.183 18.982 C 5.423 18.946,5.713 18.740,5.859 18.503 C 5.966 18.329,5.980 18.271,5.980 18.003 C 5.980 17.745,5.964 17.672,5.871 17.514 C 5.731 17.276,5.485 17.096,5.219 17.036 C 5.014 16.990,5.008 16.985,4.982 16.825 C 4.926 16.473,4.646 16.162,4.290 16.055 C 4.068 15.988,3.913 15.989,3.695 16.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const SparklesIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Sparkles = SparklesIcon;