@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.55 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-github" 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="M4.643 1.066 C 4.546 1.102,4.390 1.208,4.296 1.302 C 4.093 1.505,4.010 1.742,3.876 2.503 C 3.759 3.171,3.748 4.243,3.853 4.883 L 3.923 5.306 3.744 5.643 C 3.226 6.618,3.002 7.553,3.001 8.741 C 2.999 9.925,3.146 10.703,3.538 11.600 C 4.018 12.697,4.905 13.693,6.023 14.390 C 6.611 14.757,7.166 14.995,7.960 15.222 C 8.169 15.281,8.346 15.335,8.353 15.341 C 8.360 15.348,8.310 15.527,8.242 15.740 C 8.129 16.094,8.058 16.447,7.972 17.096 C 7.941 17.325,7.935 17.334,7.786 17.386 C 7.556 17.465,6.970 17.560,6.720 17.558 C 6.226 17.556,5.692 17.362,5.273 17.033 C 5.148 16.935,4.788 16.615,4.473 16.320 C 3.823 15.713,3.534 15.489,3.158 15.299 C 2.658 15.047,2.060 14.945,1.714 15.052 C 1.052 15.257,0.792 16.031,1.198 16.591 C 1.361 16.815,1.606 16.950,1.938 16.997 C 2.290 17.047,2.442 17.151,3.200 17.866 C 4.034 18.652,4.554 19.023,5.158 19.259 C 5.857 19.533,6.653 19.619,7.431 19.504 C 7.678 19.467,7.907 19.427,7.939 19.415 C 7.988 19.396,7.998 19.602,8.008 20.850 L 8.020 22.306 8.141 22.503 C 8.543 23.156,9.457 23.156,9.859 22.503 L 9.980 22.306 9.987 19.666 C 9.992 17.914,10.009 16.939,10.039 16.767 C 10.130 16.248,10.339 15.764,10.702 15.233 C 10.929 14.902,11.000 14.719,10.999 14.460 C 10.999 14.121,10.671 13.666,10.355 13.567 C 10.281 13.544,9.968 13.505,9.660 13.482 C 8.336 13.380,7.285 12.966,6.434 12.211 C 5.408 11.301,5.000 10.298,5.000 8.687 C 5.000 7.720,5.214 7.023,5.798 6.086 C 6.011 5.745,6.030 5.578,5.922 5.043 C 5.787 4.374,5.735 3.320,5.837 3.320 C 5.899 3.320,6.618 3.756,7.079 4.073 C 7.731 4.521,7.821 4.546,8.437 4.441 C 10.827 4.034,13.173 4.034,15.563 4.441 C 16.179 4.546,16.269 4.521,16.921 4.073 C 17.416 3.732,18.102 3.320,18.174 3.320 C 18.242 3.320,18.174 4.545,18.079 5.030 C 17.971 5.583,17.990 5.745,18.202 6.086 C 18.786 7.023,19.000 7.720,19.000 8.687 C 19.000 10.298,18.592 11.301,17.566 12.211 C 16.692 12.987,15.571 13.411,14.160 13.501 C 13.689 13.531,13.560 13.572,13.345 13.761 C 13.153 13.929,13.039 14.155,13.012 14.419 C 12.983 14.693,13.038 14.848,13.308 15.249 C 13.714 15.852,13.941 16.453,13.985 17.040 C 13.997 17.205,14.010 18.457,14.014 19.823 L 14.020 22.306 14.141 22.503 C 14.543 23.156,15.457 23.156,15.859 22.503 L 15.980 22.306 16.002 19.783 C 16.015 18.395,16.011 17.098,15.993 16.900 C 15.957 16.491,15.878 16.121,15.732 15.667 C 15.677 15.496,15.638 15.349,15.646 15.342 C 15.654 15.335,15.831 15.281,16.040 15.222 C 17.323 14.856,18.243 14.341,19.114 13.502 C 20.041 12.609,20.617 11.553,20.883 10.256 C 20.989 9.742,21.034 8.352,20.962 7.844 C 20.853 7.076,20.603 6.297,20.256 5.642 L 20.077 5.304 20.138 4.829 C 20.283 3.716,20.155 2.107,19.876 1.532 C 19.772 1.316,19.561 1.140,19.305 1.055 C 18.713 0.858,17.454 1.312,16.104 2.210 L 15.748 2.446 15.504 2.404 C 14.297 2.194,12.416 2.090,11.039 2.157 C 10.144 2.200,9.066 2.305,8.497 2.404 L 8.253 2.446 7.757 2.121 C 6.485 1.289,5.211 0.857,4.643 1.066 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const GithubIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Github = GithubIcon;