UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.9 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-refresh-cw" 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.080 2.042 C 9.165 2.226,7.360 2.948,5.800 4.154 C 5.005 4.769,4.015 5.884,3.470 6.780 C 2.550 8.291,1.993 10.208,2.002 11.834 C 2.004 12.367,2.146 12.654,2.511 12.869 C 2.673 12.964,2.744 12.980,3.003 12.980 C 3.271 12.980,3.329 12.966,3.503 12.859 C 3.743 12.711,3.948 12.420,3.975 12.189 C 3.986 12.096,4.013 11.759,4.035 11.440 C 4.111 10.356,4.354 9.441,4.816 8.500 C 5.618 6.867,6.867 5.618,8.500 4.816 C 10.933 3.621,13.874 3.760,16.351 5.188 C 17.039 5.585,17.644 6.055,18.239 6.657 L 18.578 7.000 17.235 7.000 C 15.775 7.000,15.653 7.015,15.382 7.221 C 15.302 7.282,15.187 7.415,15.128 7.516 C 15.037 7.672,15.020 7.746,15.020 8.000 C 15.020 8.256,15.036 8.328,15.131 8.489 C 15.256 8.702,15.449 8.864,15.670 8.943 C 15.790 8.986,16.368 8.997,18.520 8.998 L 21.220 8.999 21.420 8.906 C 21.657 8.796,21.845 8.595,21.936 8.354 C 21.996 8.197,22.002 7.911,21.991 5.440 L 21.980 2.700 21.871 2.514 C 21.479 1.848,20.521 1.848,20.129 2.514 L 20.020 2.700 20.008 4.132 L 19.996 5.564 19.533 5.122 C 18.573 4.205,17.808 3.665,16.700 3.121 C 15.613 2.587,14.672 2.291,13.507 2.117 C 12.895 2.025,11.652 1.987,11.080 2.042 M20.695 11.057 C 20.468 11.128,20.256 11.298,20.132 11.510 C 20.040 11.668,20.025 11.750,19.993 12.273 C 19.856 14.525,19.047 16.316,17.496 17.801 C 15.824 19.401,13.469 20.204,11.168 19.959 C 9.107 19.739,7.240 18.839,5.781 17.363 L 5.422 17.000 6.801 16.998 C 8.284 16.996,8.350 16.989,8.619 16.783 C 8.696 16.725,8.808 16.592,8.869 16.489 C 8.964 16.328,8.980 16.256,8.980 16.000 C 8.980 15.746,8.963 15.672,8.872 15.516 C 8.813 15.415,8.698 15.282,8.618 15.221 C 8.327 14.999,8.334 15.000,5.444 15.000 L 2.780 15.001 2.580 15.094 C 2.343 15.204,2.155 15.405,2.064 15.646 C 2.004 15.803,1.998 16.089,2.009 18.563 L 2.020 21.306 2.141 21.503 C 2.543 22.156,3.457 22.156,3.859 21.503 L 3.980 21.306 3.992 19.871 L 4.004 18.436 4.490 18.902 C 4.758 19.158,5.122 19.484,5.298 19.626 C 6.808 20.837,8.571 21.595,10.600 21.907 C 11.252 22.007,12.761 22.007,13.400 21.907 C 15.216 21.623,16.762 20.959,18.200 19.847 C 18.637 19.509,19.509 18.637,19.847 18.200 C 21.206 16.443,21.966 14.343,21.977 12.320 C 21.980 11.716,21.977 11.695,21.872 11.516 C 21.628 11.101,21.150 10.915,20.695 11.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const RefreshCwIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const RefreshCw = RefreshCwIcon;