@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.19 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-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.660 1.035 C 11.406 1.102,11.155 1.242,10.954 1.427 C 10.758 1.609,10.674 1.766,9.499 4.140 C 8.813 5.526,8.202 6.719,8.141 6.792 C 8.018 6.938,7.823 7.050,7.580 7.114 C 7.492 7.137,6.243 7.328,4.804 7.538 C 3.365 7.749,2.123 7.940,2.043 7.964 C 1.963 7.988,1.800 8.073,1.680 8.154 C 0.902 8.676,0.780 9.774,1.424 10.468 C 1.510 10.560,2.392 11.424,3.384 12.388 C 4.377 13.351,5.237 14.197,5.295 14.266 C 5.435 14.434,5.520 14.684,5.520 14.932 C 5.520 15.043,5.319 16.296,5.074 17.717 C 4.788 19.375,4.628 20.400,4.629 20.580 C 4.631 21.003,4.751 21.278,5.076 21.604 C 5.419 21.946,5.674 22.053,6.161 22.057 C 6.577 22.061,6.423 22.132,9.393 20.568 C 10.566 19.950,11.589 19.423,11.667 19.398 C 11.848 19.338,12.151 19.338,12.330 19.397 C 12.407 19.422,13.430 19.948,14.605 20.567 C 17.581 22.133,17.423 22.061,17.839 22.057 C 18.326 22.053,18.581 21.946,18.924 21.604 C 19.249 21.278,19.369 21.003,19.371 20.580 C 19.372 20.400,19.212 19.375,18.926 17.717 C 18.681 16.296,18.480 15.043,18.480 14.932 C 18.480 14.684,18.565 14.434,18.705 14.266 C 18.763 14.197,19.652 13.321,20.680 12.320 C 21.707 11.319,22.596 10.443,22.655 10.374 C 22.948 10.024,23.068 9.458,22.942 9.018 C 22.809 8.557,22.534 8.236,22.102 8.037 C 21.888 7.938,21.559 7.881,19.220 7.541 C 17.768 7.329,16.508 7.137,16.420 7.114 C 16.177 7.050,15.982 6.938,15.859 6.792 C 15.798 6.719,15.195 5.541,14.519 4.173 C 13.152 1.409,13.140 1.389,12.649 1.155 C 12.448 1.059,12.325 1.029,12.086 1.017 C 11.918 1.010,11.726 1.017,11.660 1.035 M13.045 5.710 L 14.067 7.780 14.384 8.117 C 14.853 8.617,15.316 8.896,15.948 9.060 C 16.063 9.090,17.116 9.254,18.288 9.425 C 19.461 9.595,20.424 9.737,20.430 9.740 C 20.435 9.743,20.093 10.086,19.670 10.502 C 19.246 10.918,18.475 11.682,17.955 12.199 L 17.010 13.140 16.808 13.560 C 16.369 14.475,16.370 14.696,16.840 17.440 C 17.037 18.595,17.206 19.571,17.215 19.608 C 17.235 19.691,17.209 19.678,15.236 18.638 C 13.274 17.603,13.147 17.542,12.762 17.445 C 12.090 17.276,11.245 17.358,10.660 17.650 C 10.528 17.715,9.614 18.192,8.628 18.709 C 7.643 19.227,6.826 19.639,6.812 19.626 C 6.799 19.613,6.953 18.641,7.154 17.468 C 7.551 15.149,7.581 14.832,7.456 14.268 C 7.376 13.908,7.103 13.324,6.893 13.060 C 6.805 12.950,6.023 12.167,5.156 11.320 C 4.289 10.473,3.575 9.771,3.570 9.760 C 3.564 9.749,4.523 9.599,5.699 9.428 C 7.869 9.112,8.083 9.073,8.489 8.921 C 8.987 8.734,9.601 8.230,9.921 7.743 C 9.999 7.625,10.493 6.654,11.019 5.584 C 11.545 4.515,11.986 3.640,11.999 3.640 C 12.012 3.640,12.482 4.571,13.045 5.710 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const StarIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Star = StarIcon;