@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 4.28 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-text-cursor-input" 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="M5.695 3.055 C 5.464 3.130,5.255 3.300,5.128 3.516 C 5.037 3.672,5.020 3.746,5.020 4.000 C 5.020 4.256,5.036 4.328,5.131 4.489 C 5.192 4.592,5.304 4.725,5.381 4.783 C 5.622 4.967,5.770 4.996,6.463 4.998 C 7.257 5.000,7.439 5.045,7.697 5.303 C 8.023 5.629,8.000 5.126,8.000 12.001 C 8.000 17.059,7.991 18.139,7.945 18.290 C 7.872 18.533,7.707 18.740,7.484 18.872 C 7.306 18.977,7.276 18.981,6.520 19.003 C 6.066 19.016,5.693 19.045,5.627 19.073 C 5.433 19.154,5.240 19.325,5.128 19.516 C 5.037 19.672,5.020 19.746,5.020 20.000 C 5.020 20.257,5.036 20.327,5.133 20.492 C 5.263 20.714,5.503 20.901,5.736 20.964 C 5.842 20.993,6.195 21.002,6.740 20.990 C 7.472 20.974,7.616 20.960,7.860 20.881 C 8.230 20.762,8.538 20.604,8.792 20.402 L 9.000 20.238 9.208 20.402 C 9.462 20.604,9.770 20.762,10.140 20.881 C 10.384 20.960,10.528 20.974,11.260 20.990 C 11.805 21.002,12.158 20.993,12.264 20.964 C 12.497 20.901,12.737 20.714,12.867 20.492 C 12.964 20.327,12.980 20.257,12.980 20.000 C 12.980 19.746,12.963 19.672,12.872 19.516 C 12.760 19.325,12.567 19.154,12.373 19.073 C 12.307 19.045,11.934 19.016,11.480 19.003 C 10.724 18.981,10.694 18.977,10.516 18.872 C 10.415 18.813,10.284 18.700,10.225 18.623 C 9.987 18.311,10.000 18.701,10.000 12.022 C 10.000 5.123,9.977 5.629,10.303 5.303 C 10.561 5.045,10.743 5.000,11.537 4.998 C 12.230 4.996,12.378 4.967,12.619 4.783 C 12.696 4.725,12.808 4.592,12.869 4.489 C 12.964 4.328,12.980 4.256,12.980 4.000 C 12.980 3.745,12.964 3.672,12.871 3.514 C 12.731 3.276,12.485 3.096,12.221 3.037 C 12.083 3.006,11.752 2.997,11.237 3.010 C 10.599 3.027,10.406 3.046,10.160 3.118 C 9.821 3.216,9.422 3.421,9.170 3.627 L 9.000 3.765 8.830 3.627 C 8.578 3.422,8.179 3.216,7.840 3.117 C 7.584 3.042,7.418 3.028,6.700 3.015 C 6.071 3.004,5.819 3.014,5.695 3.055 M3.499 7.043 C 2.383 7.230,1.461 8.048,1.114 9.160 L 1.020 9.460 1.020 12.000 L 1.020 14.540 1.114 14.840 C 1.419 15.818,2.164 16.569,3.140 16.882 C 3.383 16.960,3.531 16.974,4.260 16.990 C 4.805 17.002,5.158 16.993,5.264 16.964 C 5.497 16.901,5.737 16.714,5.867 16.492 C 5.964 16.327,5.980 16.257,5.980 16.000 C 5.980 15.746,5.963 15.672,5.872 15.516 C 5.760 15.325,5.567 15.154,5.373 15.073 C 5.307 15.045,4.934 15.016,4.480 15.003 C 3.724 14.981,3.694 14.977,3.516 14.872 C 3.415 14.813,3.282 14.698,3.221 14.618 C 3.004 14.333,3.000 14.287,3.000 12.001 C 3.000 9.589,2.998 9.609,3.303 9.303 C 3.561 9.045,3.743 9.000,4.537 8.998 C 5.230 8.996,5.378 8.967,5.619 8.783 C 5.696 8.725,5.808 8.592,5.869 8.489 C 5.964 8.328,5.980 8.256,5.980 8.000 C 5.980 7.746,5.963 7.672,5.872 7.516 C 5.740 7.293,5.533 7.128,5.290 7.055 C 5.084 6.993,3.845 6.985,3.499 7.043 M12.695 7.056 C 12.465 7.129,12.256 7.299,12.128 7.516 C 12.037 7.672,12.020 7.746,12.020 8.000 C 12.020 8.256,12.036 8.328,12.131 8.489 C 12.256 8.702,12.449 8.864,12.670 8.943 C 12.791 8.986,13.524 8.997,16.463 8.998 C 20.586 9.000,20.379 8.985,20.697 9.303 C 21.002 9.609,21.000 9.589,21.000 12.001 C 21.000 14.287,20.996 14.333,20.779 14.618 C 20.718 14.698,20.585 14.813,20.484 14.872 L 20.300 14.980 16.520 15.000 C 13.617 15.015,12.714 15.032,12.627 15.070 C 12.428 15.158,12.239 15.328,12.128 15.516 C 12.037 15.672,12.020 15.746,12.020 16.000 C 12.020 16.257,12.036 16.327,12.133 16.492 C 12.261 16.711,12.502 16.901,12.725 16.961 C 12.827 16.989,14.176 16.999,16.729 16.991 L 20.580 16.980 20.860 16.886 C 21.851 16.554,22.582 15.816,22.886 14.840 L 22.980 14.540 22.980 12.000 L 22.980 9.460 22.886 9.160 C 22.581 8.182,21.831 7.427,20.861 7.122 L 20.540 7.021 16.700 7.012 C 13.626 7.006,12.827 7.014,12.695 7.056 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const TextCursorInputIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const TextCursorInput = TextCursorInputIcon;