UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.18 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-star-half" 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.037 C 11.415 1.097,11.157 1.240,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.418 21.946,5.675 22.053,6.160 22.057 C 6.576 22.060,6.424 22.129,9.042 20.751 C 11.808 19.295,11.583 19.403,11.993 19.341 C 12.189 19.312,12.401 19.260,12.465 19.227 C 12.762 19.071,12.998 18.680,12.999 18.340 C 13.000 17.971,12.730 17.563,12.391 17.422 C 12.182 17.335,11.655 17.343,11.250 17.440 C 10.866 17.532,10.948 17.492,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.963 8.743,9.581 8.246,9.894 7.790 C 9.958 7.697,10.527 6.576,11.159 5.300 L 12.308 2.980 12.523 2.840 C 12.659 2.752,12.783 2.627,12.859 2.503 C 12.966 2.330,12.980 2.270,12.980 2.003 C 12.980 1.746,12.964 1.672,12.872 1.516 C 12.634 1.112,12.147 0.919,11.660 1.037 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const StarHalfIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const StarHalf = StarHalfIcon;