UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.08 kB
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-zap" 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="M13.150 1.041 C 12.800 1.129,12.616 1.271,11.870 2.028 C 9.414 4.520,2.449 11.733,2.334 11.904 C 2.259 12.016,2.161 12.203,2.116 12.320 C 2.011 12.598,1.974 13.121,2.039 13.404 C 2.219 14.176,2.842 14.799,3.592 14.956 C 3.738 14.986,4.931 15.000,7.406 15.000 C 10.360 15.000,11.005 15.009,10.988 15.052 C 10.977 15.081,10.530 16.472,9.995 18.142 C 9.040 21.124,9.022 21.186,9.022 21.520 C 9.021 21.817,9.037 21.893,9.146 22.124 C 9.560 23.004,10.713 23.277,11.429 22.666 C 11.783 22.363,21.526 12.304,21.666 12.096 C 21.741 11.984,21.839 11.797,21.884 11.680 C 21.989 11.402,22.026 10.879,21.961 10.596 C 21.780 9.816,21.134 9.180,20.383 9.043 C 20.224 9.014,18.957 9.000,16.568 9.000 C 13.676 9.000,12.995 8.990,13.011 8.949 C 13.022 8.921,13.469 7.530,14.004 5.859 C 14.960 2.876,14.978 2.814,14.978 2.480 C 14.978 2.182,14.963 2.107,14.854 1.876 C 14.617 1.373,14.125 1.038,13.589 1.016 C 13.430 1.009,13.232 1.020,13.150 1.041 M11.693 6.502 C 10.977 8.743,10.937 8.923,11.038 9.410 C 11.174 10.064,11.684 10.641,12.346 10.892 C 12.580 10.980,12.584 10.980,16.280 11.000 L 19.980 11.020 15.820 15.306 C 13.532 17.663,11.656 19.588,11.651 19.584 C 11.646 19.579,11.941 18.641,12.306 17.498 C 12.859 15.770,12.974 15.368,12.990 15.113 C 13.047 14.232,12.518 13.438,11.657 13.110 L 11.420 13.020 7.720 13.000 L 4.020 12.980 8.180 8.694 C 10.468 6.337,12.344 4.412,12.349 4.416 C 12.353 4.420,12.058 5.359,11.693 6.502 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ZapIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Zap = ZapIcon;