@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.6 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-loader" 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.695 1.057 C 11.466 1.129,11.256 1.299,11.128 1.516 L 11.020 1.700 11.020 4.003 L 11.020 6.306 11.141 6.503 C 11.543 7.156,12.457 7.156,12.859 6.503 L 12.980 6.306 12.980 4.003 L 12.980 1.700 12.872 1.516 C 12.628 1.101,12.150 0.915,11.695 1.057 M4.444 4.025 C 3.917 4.288,3.744 4.975,4.082 5.460 C 4.251 5.702,7.199 8.621,7.360 8.705 C 7.459 8.757,7.588 8.779,7.800 8.779 C 8.058 8.780,8.127 8.764,8.292 8.667 C 8.768 8.387,8.938 7.767,8.665 7.308 C 8.611 7.216,7.876 6.452,7.033 5.612 C 5.890 4.473,5.454 4.063,5.320 4.003 C 5.054 3.883,4.712 3.892,4.444 4.025 M18.680 4.003 C 18.546 4.063,18.110 4.473,16.967 5.612 C 16.124 6.452,15.386 7.221,15.327 7.320 C 15.236 7.472,15.220 7.546,15.220 7.800 C 15.220 8.057,15.236 8.127,15.333 8.292 C 15.613 8.768,16.233 8.938,16.692 8.665 C 16.784 8.611,17.548 7.876,18.388 7.033 C 19.571 5.846,19.935 5.458,19.998 5.314 C 20.295 4.641,19.830 3.918,19.102 3.921 C 18.946 3.921,18.796 3.951,18.680 4.003 M1.695 11.057 C 1.466 11.129,1.256 11.299,1.128 11.516 C 1.037 11.672,1.020 11.746,1.020 12.000 C 1.020 12.256,1.036 12.328,1.131 12.489 C 1.256 12.702,1.449 12.864,1.670 12.943 C 1.889 13.021,6.111 13.021,6.330 12.943 C 6.551 12.864,6.744 12.702,6.869 12.489 C 6.964 12.328,6.980 12.256,6.980 12.000 C 6.980 11.746,6.963 11.672,6.872 11.516 C 6.740 11.293,6.533 11.128,6.290 11.055 C 6.033 10.978,1.943 10.979,1.695 11.057 M17.695 11.057 C 17.466 11.129,17.256 11.299,17.128 11.516 C 17.037 11.672,17.020 11.746,17.020 12.000 C 17.020 12.256,17.036 12.328,17.131 12.489 C 17.256 12.702,17.449 12.864,17.670 12.943 C 17.889 13.021,22.111 13.021,22.330 12.943 C 22.551 12.864,22.744 12.702,22.869 12.489 C 22.964 12.328,22.980 12.256,22.980 12.000 C 22.980 11.746,22.963 11.672,22.872 11.516 C 22.740 11.293,22.533 11.128,22.290 11.055 C 22.033 10.978,17.943 10.979,17.695 11.057 M7.460 15.267 C 7.277 15.322,7.130 15.457,5.726 16.854 C 4.883 17.693,4.143 18.452,4.082 18.540 C 3.680 19.119,4.017 19.947,4.705 20.069 C 4.970 20.116,5.258 20.059,5.455 19.921 C 5.701 19.750,8.620 16.802,8.705 16.640 C 8.757 16.541,8.779 16.412,8.779 16.200 C 8.780 15.945,8.764 15.872,8.672 15.716 C 8.540 15.493,8.333 15.328,8.090 15.255 C 7.862 15.186,7.714 15.189,7.460 15.267 M15.895 15.257 C 15.666 15.329,15.456 15.499,15.328 15.716 C 15.236 15.872,15.220 15.945,15.221 16.200 C 15.221 16.412,15.243 16.541,15.295 16.640 C 15.380 16.801,18.299 19.749,18.543 19.920 C 18.858 20.141,19.341 20.139,19.665 19.917 C 20.099 19.618,20.219 18.971,19.920 18.543 C 19.858 18.453,19.117 17.693,18.274 16.854 C 16.814 15.402,16.729 15.325,16.523 15.264 C 16.266 15.188,16.119 15.187,15.895 15.257 M11.695 17.057 C 11.466 17.129,11.256 17.299,11.128 17.516 L 11.020 17.700 11.020 20.003 L 11.020 22.306 11.141 22.503 C 11.209 22.613,11.346 22.756,11.452 22.828 C 11.923 23.144,12.554 22.999,12.859 22.503 L 12.980 22.306 12.980 20.003 L 12.980 17.700 12.872 17.516 C 12.628 17.101,12.150 16.915,11.695 17.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const LoaderIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Loader = LoaderIcon;