@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.83 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-youtube" 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="M10.420 3.962 C 8.515 4.018,6.494 4.202,4.461 4.503 C 3.636 4.626,3.429 4.681,3.036 4.885 C 2.365 5.233,1.810 5.882,1.586 6.580 C 1.427 7.074,1.163 8.760,1.054 9.980 C 0.967 10.956,0.967 13.044,1.054 14.020 C 1.163 15.240,1.427 16.926,1.586 17.420 C 1.810 18.119,2.368 18.770,3.036 19.114 C 3.482 19.343,3.641 19.383,4.720 19.538 C 7.397 19.923,9.267 20.056,12.000 20.056 C 14.224 20.056,15.545 19.985,17.580 19.759 C 18.649 19.640,20.232 19.406,20.460 19.334 C 21.365 19.046,22.129 18.297,22.414 17.420 C 22.572 16.932,22.836 15.244,22.946 14.020 C 23.033 13.044,23.033 10.956,22.946 9.980 C 22.836 8.756,22.572 7.068,22.414 6.580 C 22.184 5.870,21.641 5.236,20.964 4.885 C 20.571 4.681,20.364 4.626,19.539 4.503 C 17.419 4.189,15.562 4.025,13.388 3.959 C 12.032 3.919,11.905 3.919,10.420 3.962 M13.397 5.961 C 15.052 6.013,16.506 6.123,17.940 6.303 C 18.908 6.424,19.823 6.564,19.940 6.608 C 20.134 6.681,20.311 6.831,20.417 7.011 C 20.581 7.293,20.851 8.958,20.961 10.360 C 21.019 11.105,21.019 12.895,20.961 13.640 C 20.851 15.042,20.581 16.707,20.417 16.989 C 20.311 17.170,20.133 17.320,19.940 17.392 C 19.747 17.463,18.302 17.671,17.120 17.798 C 12.966 18.242,8.977 18.152,4.720 17.517 C 4.123 17.428,4.001 17.392,3.811 17.252 C 3.580 17.083,3.496 16.875,3.364 16.160 C 3.102 14.735,2.993 13.516,2.993 12.000 C 2.993 10.484,3.102 9.265,3.364 7.840 C 3.496 7.125,3.580 6.917,3.811 6.748 C 4.010 6.601,4.127 6.570,4.880 6.463 C 6.928 6.171,8.640 6.017,10.458 5.962 C 11.902 5.918,12.038 5.918,13.397 5.961 M9.667 8.065 C 9.415 8.142,9.155 8.400,9.066 8.660 C 9.007 8.835,9.000 9.175,9.002 12.017 C 9.004 15.427,8.998 15.332,9.217 15.619 C 9.444 15.917,9.919 16.071,10.264 15.960 C 10.350 15.932,11.603 15.200,13.049 14.333 C 14.892 13.228,15.708 12.718,15.778 12.626 C 16.065 12.250,16.067 11.753,15.784 11.382 C 15.707 11.280,14.975 10.821,13.049 9.667 C 11.603 8.801,10.359 8.071,10.284 8.046 C 10.106 7.986,9.905 7.992,9.667 8.065 M11.994 11.366 C 12.514 11.677,12.961 11.951,12.987 11.976 C 13.022 12.009,12.777 12.174,12.017 12.628 L 11.000 13.236 11.000 12.018 C 11.000 11.348,11.011 10.800,11.024 10.800 C 11.037 10.800,11.473 11.054,11.994 11.366 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const YoutubeIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Youtube = YoutubeIcon;