@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.36 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-grab" 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.499 5.040 C 10.764 5.174,10.178 5.519,9.670 6.120 C 9.559 6.252,9.461 6.360,9.452 6.360 C 9.444 6.360,9.367 6.324,9.281 6.281 C 9.196 6.237,8.985 6.161,8.813 6.112 C 8.358 5.981,7.593 5.988,7.139 6.125 C 6.189 6.414,5.435 7.164,5.116 8.140 C 5.030 8.405,5.024 8.493,5.009 9.786 L 4.994 11.151 4.787 11.093 C 4.673 11.062,4.391 11.025,4.160 11.013 C 2.921 10.946,1.853 11.575,1.296 12.700 C 0.999 13.301,0.934 13.935,1.059 15.008 C 1.373 17.691,2.817 20.034,5.080 21.531 C 6.207 22.277,7.596 22.777,8.992 22.941 C 9.725 23.026,14.275 23.026,15.008 22.941 C 16.050 22.819,17.015 22.537,17.940 22.084 C 20.768 20.698,22.650 17.983,22.961 14.840 C 22.990 14.540,23.001 13.689,22.992 12.400 C 22.978 10.457,22.976 10.415,22.885 10.140 C 22.561 9.161,21.810 8.414,20.861 8.125 C 20.327 7.963,19.451 7.989,18.948 8.182 C 18.911 8.197,18.877 8.148,18.843 8.032 C 18.661 7.417,18.080 6.728,17.441 6.368 C 16.997 6.119,16.622 6.028,16.020 6.025 C 15.470 6.022,15.073 6.100,14.719 6.281 C 14.633 6.324,14.556 6.360,14.548 6.360 C 14.539 6.360,14.441 6.252,14.330 6.120 C 13.723 5.403,13.020 5.053,12.120 5.019 C 11.889 5.011,11.609 5.020,11.499 5.040 M12.308 7.060 C 12.438 7.099,12.571 7.179,12.679 7.283 C 12.981 7.576,12.978 7.558,13.000 9.223 L 13.020 10.707 13.141 10.903 C 13.543 11.556,14.457 11.556,14.859 10.903 L 14.980 10.707 15.000 9.723 C 15.024 8.615,15.036 8.561,15.321 8.283 C 15.490 8.120,15.777 8.000,16.000 8.000 C 16.237 8.000,16.514 8.120,16.697 8.303 C 16.989 8.595,17.000 8.666,17.000 10.297 C 17.001 11.689,17.002 11.702,17.095 11.900 C 17.276 12.281,17.595 12.488,18.000 12.488 C 18.405 12.488,18.724 12.281,18.905 11.900 C 18.984 11.731,18.999 11.637,19.000 11.297 C 19.000 10.763,19.069 10.537,19.303 10.303 C 19.486 10.120,19.763 10.000,20.000 10.000 C 20.238 10.000,20.514 10.120,20.697 10.304 C 21.009 10.616,21.011 10.627,20.989 12.833 C 20.967 15.103,20.935 15.375,20.573 16.380 C 19.794 18.546,17.949 20.219,15.725 20.778 C 14.945 20.974,14.829 20.980,12.000 20.980 C 9.171 20.980,9.055 20.974,8.275 20.778 C 5.254 20.019,3.065 17.271,3.026 14.189 C 3.021 13.799,3.031 13.719,3.106 13.579 C 3.303 13.212,3.607 13.023,4.000 13.023 C 4.556 13.023,4.927 13.392,4.997 14.014 C 5.049 14.475,5.232 14.750,5.600 14.917 C 5.850 15.030,6.165 15.025,6.420 14.905 C 6.660 14.791,6.807 14.642,6.917 14.400 C 6.996 14.225,6.998 14.150,6.999 11.537 C 7.000 8.502,6.989 8.617,7.306 8.300 C 7.486 8.121,7.764 8.000,8.000 8.000 C 8.223 8.000,8.510 8.120,8.679 8.283 C 8.950 8.547,8.973 8.636,8.998 9.523 L 9.020 10.306 9.141 10.503 C 9.543 11.156,10.457 11.156,10.859 10.503 L 10.980 10.307 11.000 9.023 C 11.023 7.581,11.025 7.571,11.322 7.283 C 11.588 7.024,11.928 6.947,12.308 7.060 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const GrabIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Grab = GrabIcon;