@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.63 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-apple" 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="M9.643 1.069 C 9.407 1.152,9.149 1.416,9.066 1.660 C 8.902 2.143,9.067 2.587,9.516 2.869 C 9.976 3.158,10.267 3.519,10.520 4.113 C 10.647 4.413,10.855 5.134,10.808 5.112 C 10.793 5.105,10.593 5.003,10.363 4.886 C 9.315 4.349,8.312 4.068,7.260 4.015 C 4.260 3.864,1.689 5.868,1.096 8.820 C 0.998 9.303,0.997 10.606,1.094 11.320 C 1.370 13.370,1.979 15.559,2.828 17.559 C 4.018 20.363,5.464 22.205,6.926 22.783 C 7.475 23.000,7.989 23.049,8.605 22.941 C 9.019 22.869,9.369 22.756,10.293 22.396 C 11.157 22.059,11.544 21.961,12.000 21.961 C 12.456 21.961,12.843 22.059,13.707 22.396 C 14.631 22.756,14.981 22.869,15.395 22.941 C 16.011 23.049,16.525 23.000,17.074 22.783 C 18.136 22.363,19.215 21.251,20.177 19.583 C 21.463 17.354,22.532 14.123,22.903 11.340 C 22.990 10.686,23.003 9.388,22.926 8.960 C 22.588 7.072,21.440 5.501,19.785 4.662 C 19.035 4.282,18.416 4.107,17.547 4.032 C 16.125 3.909,14.570 4.305,13.122 5.159 C 13.006 5.227,12.906 5.278,12.900 5.272 C 12.895 5.265,12.851 5.062,12.804 4.820 C 12.487 3.206,11.789 1.983,10.813 1.334 C 10.317 1.004,10.018 0.936,9.643 1.069 M7.481 6.041 C 8.463 6.161,9.284 6.505,10.760 7.418 C 11.623 7.952,11.722 7.998,12.000 7.998 C 12.278 7.998,12.377 7.952,13.240 7.418 C 14.760 6.478,15.561 6.148,16.592 6.037 C 18.351 5.846,19.900 6.710,20.643 8.297 C 20.897 8.839,20.975 9.232,20.974 9.960 C 20.970 12.785,19.436 17.386,17.738 19.664 C 17.389 20.132,16.827 20.675,16.520 20.840 C 16.288 20.964,16.227 20.980,15.960 20.979 C 15.616 20.978,15.462 20.933,14.386 20.513 C 13.987 20.357,13.453 20.175,13.200 20.107 C 12.766 19.992,12.699 19.985,12.000 19.985 C 11.301 19.985,11.234 19.992,10.800 20.107 C 10.547 20.175,10.013 20.357,9.614 20.513 C 8.538 20.933,8.384 20.978,8.040 20.979 C 7.773 20.980,7.712 20.964,7.480 20.840 C 7.173 20.675,6.611 20.132,6.264 19.667 C 4.879 17.807,3.573 14.383,3.142 11.480 C 2.909 9.911,2.984 9.027,3.425 8.149 C 3.623 7.756,3.764 7.559,4.096 7.208 C 4.968 6.291,6.158 5.880,7.481 6.041 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const AppleIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Apple = AppleIcon;