@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.4 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-joystick" 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.358 2.061 C 9.731 2.315,8.417 3.584,8.083 5.227 C 7.700 7.105,8.756 9.031,10.540 9.711 C 10.716 9.778,10.892 9.843,10.930 9.855 C 10.995 9.876,11.000 10.011,11.000 11.939 L 11.000 14.000 9.003 14.000 L 7.007 14.000 6.993 13.350 C 6.981 12.726,6.976 12.693,6.871 12.514 C 6.479 11.848,5.521 11.848,5.129 12.514 C 5.024 12.693,5.019 12.726,5.007 13.345 L 4.993 13.990 4.711 14.018 C 3.496 14.138,2.485 14.972,2.114 16.160 C 2.022 16.453,2.020 16.497,2.020 18.000 C 2.020 19.503,2.022 19.547,2.114 19.840 C 2.422 20.827,3.173 21.578,4.160 21.886 L 4.460 21.980 12.000 21.980 L 19.540 21.980 19.840 21.886 C 20.827 21.578,21.578 20.827,21.886 19.840 C 21.978 19.547,21.980 19.503,21.980 18.000 C 21.980 16.497,21.978 16.453,21.886 16.160 C 21.581 15.182,20.830 14.427,19.861 14.122 L 19.540 14.021 16.270 14.009 L 13.000 13.997 13.000 11.937 C 13.000 10.011,13.005 9.876,13.070 9.855 C 14.342 9.450,15.237 8.646,15.704 7.488 C 16.090 6.530,16.090 5.469,15.705 4.516 C 15.172 3.197,14.001 2.269,12.605 2.058 C 12.144 1.989,11.816 1.990,11.358 2.061 M12.523 4.073 C 13.262 4.266,13.850 4.924,13.967 5.690 C 14.029 6.098,13.967 6.522,13.793 6.880 C 13.638 7.198,13.227 7.625,12.930 7.775 C 12.492 7.997,11.962 8.059,11.508 7.940 C 10.823 7.762,10.249 7.194,10.073 6.523 C 9.683 5.028,11.028 3.683,12.523 4.073 M19.334 16.064 C 19.596 16.153,19.861 16.427,19.939 16.690 C 20.023 16.972,20.028 19.015,19.945 19.290 C 19.872 19.533,19.707 19.740,19.484 19.872 L 19.300 19.980 12.000 19.980 L 4.700 19.980 4.516 19.872 C 4.303 19.747,4.141 19.550,4.058 19.316 C 3.972 19.071,3.974 16.982,4.061 16.690 C 4.140 16.421,4.412 16.143,4.673 16.063 C 4.833 16.014,5.904 16.005,12.003 16.003 C 18.454 16.000,19.164 16.006,19.334 16.064 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const JoystickIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Joystick = JoystickIcon;