@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-lamp" 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="M8.540 1.043 C 7.644 1.175,6.788 1.782,6.372 2.582 C 6.173 2.965,3.230 10.013,3.094 10.432 C 2.939 10.910,2.978 11.384,3.211 11.880 C 3.364 12.206,3.770 12.623,4.080 12.772 C 4.562 13.004,4.502 13.000,7.888 13.000 L 11.000 13.000 11.000 14.995 L 11.000 16.991 10.230 17.010 C 9.567 17.027,9.416 17.043,9.139 17.126 C 8.191 17.412,7.430 18.170,7.118 19.140 C 7.039 19.386,7.026 19.528,7.010 20.303 C 6.990 21.282,7.014 21.479,7.202 21.877 C 7.348 22.186,7.771 22.623,8.070 22.775 C 8.522 23.004,8.454 23.000,11.993 23.000 C 15.539 23.000,15.479 23.003,15.937 22.771 C 16.197 22.639,16.639 22.197,16.771 21.937 C 16.980 21.526,17.010 21.305,16.990 20.320 C 16.975 19.526,16.962 19.387,16.882 19.140 C 16.570 18.170,15.809 17.412,14.861 17.126 C 14.584 17.043,14.433 17.027,13.770 17.010 L 13.000 16.991 13.000 14.995 L 13.000 13.000 16.112 13.000 C 19.498 13.000,19.438 13.004,19.920 12.772 C 20.230 12.623,20.636 12.206,20.789 11.880 C 21.004 11.424,21.053 10.981,20.939 10.541 C 20.865 10.258,17.862 3.035,17.629 2.580 C 17.506 2.341,17.378 2.173,17.122 1.916 C 16.686 1.479,16.260 1.230,15.680 1.074 C 15.462 1.015,8.923 0.987,8.540 1.043 M15.340 3.066 C 15.455 3.105,15.601 3.200,15.697 3.296 C 15.845 3.445,16.002 3.801,17.426 7.220 L 18.992 10.980 15.496 10.990 C 13.573 10.996,10.427 10.996,8.504 10.990 L 5.008 10.980 6.574 7.220 C 8.001 3.794,8.155 3.445,8.304 3.295 C 8.604 2.994,8.440 3.007,11.983 3.003 C 14.826 3.000,15.165 3.007,15.340 3.066 M14.310 19.061 C 14.452 19.103,14.571 19.178,14.697 19.303 C 14.948 19.554,15.000 19.751,15.000 20.447 L 15.000 21.000 12.000 21.000 L 9.000 21.000 9.000 20.447 C 9.000 19.750,9.052 19.554,9.304 19.303 C 9.604 19.002,9.569 19.006,11.983 19.003 C 13.772 19.000,14.138 19.010,14.310 19.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const LampIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Lamp = LampIcon;