@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.53 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-ham" 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="M17.428 0.769 C 16.655 0.834,15.953 1.170,15.356 1.760 C 14.692 2.417,14.396 3.049,14.323 3.966 C 14.292 4.361,14.342 4.993,14.413 5.108 C 14.425 5.129,14.180 5.400,13.868 5.711 L 13.300 6.277 12.820 6.180 C 11.291 5.872,9.816 5.966,8.081 6.482 C 6.494 6.953,4.699 7.948,3.213 9.179 C 2.551 9.727,1.808 10.491,1.620 10.817 C 1.154 11.624,0.968 12.421,1.012 13.420 C 1.040 14.061,1.149 14.634,1.376 15.328 C 1.902 16.940,2.832 18.397,4.218 19.782 C 5.603 21.168,7.060 22.098,8.672 22.624 C 10.420 23.195,11.905 23.115,13.183 22.381 C 13.538 22.176,14.378 21.342,14.974 20.600 C 16.564 18.624,17.543 16.494,17.908 14.220 C 17.961 13.889,17.979 13.552,17.978 12.860 C 17.976 11.930,17.940 11.590,17.775 10.943 L 17.714 10.707 18.267 10.151 C 18.776 9.640,18.830 9.597,18.940 9.616 C 19.511 9.712,19.852 9.731,20.214 9.687 C 21.008 9.589,21.694 9.258,22.260 8.700 C 22.842 8.126,23.198 7.384,23.292 6.551 C 23.361 5.936,23.226 5.208,22.935 4.629 C 22.598 3.957,21.940 3.329,21.266 3.037 C 21.095 2.963,21.032 2.912,21.000 2.820 C 20.843 2.377,20.201 1.625,19.703 1.301 C 19.061 0.882,18.275 0.699,17.428 0.769 M18.340 2.843 C 18.761 3.001,19.167 3.476,19.260 3.920 C 19.350 4.346,19.657 4.639,20.135 4.756 C 20.561 4.860,20.962 5.171,21.153 5.545 C 21.446 6.121,21.302 6.873,20.812 7.321 C 20.519 7.589,20.234 7.694,19.800 7.695 C 19.503 7.696,19.422 7.680,19.161 7.566 C 18.771 7.396,18.590 7.374,18.298 7.459 C 18.079 7.522,18.019 7.570,17.438 8.145 L 16.813 8.762 16.586 8.467 C 16.332 8.134,15.817 7.626,15.469 7.363 L 15.237 7.188 15.855 6.563 C 16.430 5.981,16.478 5.921,16.541 5.702 C 16.625 5.415,16.603 5.235,16.442 4.860 C 16.290 4.505,16.273 4.047,16.400 3.712 C 16.550 3.314,16.902 2.969,17.297 2.833 C 17.587 2.733,18.057 2.737,18.340 2.843 M12.320 8.116 C 12.977 8.248,13.498 8.453,14.007 8.781 C 14.392 9.028,15.014 9.660,15.254 10.047 C 16.121 11.444,16.229 13.371,15.559 15.469 C 15.333 16.176,14.828 17.279,14.785 17.160 C 14.773 17.127,14.690 16.878,14.600 16.607 C 13.558 13.450,10.552 10.443,7.398 9.401 C 7.124 9.311,6.873 9.227,6.840 9.215 C 6.721 9.172,7.826 8.666,8.531 8.442 C 9.169 8.238,9.763 8.113,10.520 8.024 C 10.845 7.985,11.953 8.042,12.320 8.116 M6.060 11.101 C 7.128 11.323,8.422 11.971,9.460 12.802 C 10.932 13.982,12.196 15.701,12.693 17.200 C 12.913 17.865,12.977 18.232,12.977 18.820 C 12.976 19.380,12.923 19.638,12.733 20.014 C 11.952 21.555,9.226 21.244,6.700 19.324 C 6.207 18.948,5.419 18.191,4.970 17.660 C 4.044 16.564,3.348 15.221,3.096 14.040 C 2.996 13.575,2.996 12.752,3.095 12.422 C 3.336 11.621,3.880 11.159,4.740 11.025 C 4.968 10.990,5.741 11.034,6.060 11.101 M7.044 14.625 C 6.540 14.876,6.346 15.567,6.651 16.020 C 6.772 16.200,7.756 17.189,7.945 17.321 C 8.259 17.541,8.742 17.539,9.066 17.316 C 9.499 17.018,9.619 16.371,9.320 15.943 C 9.119 15.653,8.112 14.690,7.919 14.603 C 7.655 14.483,7.312 14.492,7.044 14.625 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const HamIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Ham = HamIcon;