@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.16 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" 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="M6.695 1.057 C 6.051 1.258,5.799 2.040,6.198 2.591 C 6.263 2.681,6.403 2.805,6.508 2.867 C 6.699 2.980,6.703 2.980,7.620 3.005 C 8.431 3.027,8.578 3.041,8.861 3.126 C 9.822 3.415,10.612 4.214,10.888 5.178 L 10.980 5.500 10.980 12.000 L 10.980 18.500 10.888 18.822 C 10.613 19.783,9.837 20.571,8.860 20.881 C 8.619 20.958,8.450 20.974,7.660 20.998 C 7.112 21.015,6.694 21.045,6.627 21.073 C 6.433 21.154,6.240 21.325,6.128 21.516 C 6.037 21.672,6.020 21.746,6.020 22.000 C 6.020 22.257,6.036 22.327,6.133 22.492 C 6.263 22.714,6.503 22.901,6.736 22.964 C 6.987 23.032,8.622 22.986,9.000 22.901 C 10.043 22.667,10.950 22.150,11.671 21.380 L 11.999 21.029 12.344 21.395 C 13.065 22.161,13.957 22.667,15.000 22.901 C 15.378 22.986,17.013 23.032,17.264 22.964 C 17.497 22.901,17.737 22.714,17.867 22.492 C 17.964 22.327,17.980 22.257,17.980 22.000 C 17.980 21.746,17.963 21.672,17.872 21.516 C 17.760 21.325,17.567 21.154,17.373 21.073 C 17.306 21.045,16.888 21.015,16.340 20.998 C 15.550 20.974,15.381 20.958,15.140 20.881 C 14.163 20.571,13.387 19.783,13.112 18.822 L 13.020 18.500 13.020 12.000 L 13.020 5.500 13.112 5.178 C 13.388 4.214,14.178 3.415,15.139 3.126 C 15.422 3.041,15.569 3.027,16.380 3.005 C 17.297 2.980,17.301 2.980,17.492 2.867 C 18.248 2.423,18.123 1.306,17.290 1.055 C 17.066 0.988,16.013 0.981,15.448 1.043 C 14.256 1.173,13.197 1.704,12.356 2.593 L 12.000 2.969 11.645 2.595 C 10.802 1.704,9.744 1.173,8.552 1.043 C 8.012 0.983,6.902 0.992,6.695 1.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const TextCursorIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const TextCursor = TextCursorIcon;