@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.27 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-flashlight" 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 1.057 C 5.466 1.129,5.256 1.299,5.128 1.516 L 5.020 1.700 5.007 3.960 C 4.994 6.348,5.006 6.569,5.178 7.073 C 5.375 7.652,5.589 7.966,6.300 8.720 C 6.616 9.054,6.807 9.293,6.876 9.440 L 6.980 9.660 7.000 15.120 L 7.020 20.580 7.114 20.860 C 7.446 21.851,8.184 22.582,9.160 22.886 L 9.460 22.980 12.000 22.980 L 14.540 22.980 14.840 22.886 C 15.816 22.582,16.554 21.851,16.886 20.860 L 16.980 20.580 17.000 15.120 L 17.020 9.660 17.124 9.440 C 17.193 9.294,17.385 9.052,17.698 8.720 C 18.420 7.952,18.626 7.651,18.822 7.073 C 18.994 6.569,19.006 6.348,18.993 3.960 L 18.980 1.700 18.872 1.516 C 18.740 1.293,18.533 1.128,18.290 1.055 C 18.028 0.976,5.947 0.978,5.695 1.057 M17.000 4.000 L 17.000 5.000 12.000 5.000 L 7.000 5.000 7.000 4.000 L 7.000 3.000 12.000 3.000 L 17.000 3.000 17.000 4.000 M16.197 7.390 C 15.467 8.159,15.181 8.670,15.042 9.457 C 15.014 9.615,15.000 11.439,15.000 14.901 C 15.000 19.197,14.990 20.139,14.945 20.290 C 14.872 20.533,14.707 20.740,14.484 20.872 L 14.300 20.980 12.000 20.980 L 9.700 20.980 9.516 20.872 C 9.415 20.813,9.284 20.700,9.225 20.623 C 8.988 20.312,9.000 20.618,9.000 14.922 C 9.000 11.445,8.986 9.615,8.958 9.457 C 8.815 8.651,8.494 8.095,7.706 7.290 L 7.422 7.000 11.995 7.000 L 16.568 7.000 16.197 7.390 M11.695 11.057 C 11.466 11.129,11.256 11.299,11.128 11.516 C 11.036 11.672,11.020 11.746,11.020 12.003 C 11.020 12.271,11.034 12.329,11.141 12.503 C 11.543 13.156,12.457 13.156,12.859 12.503 C 12.966 12.329,12.980 12.271,12.980 12.003 C 12.980 11.746,12.964 11.672,12.872 11.516 C 12.628 11.101,12.150 10.915,11.695 11.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const FlashlightIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Flashlight = FlashlightIcon;