UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.85 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-sparkle" 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 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 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const SparkleIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Sparkle = SparkleIcon;