@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.21 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-medal" 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="M5.460 1.059 C 4.948 1.155,4.648 1.282,4.260 1.568 C 3.890 1.841,3.712 2.048,2.744 3.335 C 1.531 4.948,1.423 5.176,1.423 6.140 C 1.422 6.759,1.475 6.994,1.723 7.486 C 1.793 7.626,2.838 9.446,4.045 11.531 L 6.238 15.323 6.161 15.647 C 5.972 16.437,5.956 17.370,6.119 18.160 C 6.611 20.558,8.417 22.365,10.840 22.885 C 11.446 23.015,12.554 23.015,13.160 22.885 C 15.036 22.482,16.535 21.332,17.374 19.649 C 17.983 18.429,18.153 16.962,17.839 15.645 L 17.761 15.319 19.955 11.530 C 21.162 9.445,22.204 7.631,22.271 7.499 C 22.510 7.024,22.580 6.715,22.579 6.140 C 22.579 5.552,22.504 5.232,22.255 4.756 C 22.088 4.438,20.444 2.227,20.149 1.926 C 19.745 1.512,19.317 1.257,18.760 1.096 C 18.511 1.024,18.225 1.021,12.120 1.014 C 6.995 1.008,5.685 1.017,5.460 1.059 M17.200 3.023 C 17.200 3.036,16.801 3.711,16.314 4.523 L 15.429 6.000 11.996 6.000 L 8.564 6.000 7.664 4.500 L 6.764 3.000 11.982 3.000 C 14.852 3.000,17.200 3.010,17.200 3.023 M7.234 7.673 C 8.491 9.770,9.520 11.499,9.520 11.515 C 9.520 11.531,9.434 11.585,9.330 11.636 C 8.768 11.907,8.210 12.317,7.695 12.837 L 7.331 13.205 7.253 13.073 C 7.210 13.000,6.333 11.485,5.303 9.708 C 3.550 6.679,3.431 6.461,3.412 6.248 C 3.400 6.122,3.411 5.948,3.435 5.860 C 3.483 5.683,4.878 3.780,4.923 3.830 C 4.937 3.847,5.977 5.576,7.234 7.673 M19.792 4.725 C 20.144 5.201,20.463 5.648,20.500 5.720 C 20.593 5.899,20.621 6.235,20.559 6.424 C 20.516 6.554,16.768 13.079,16.685 13.169 C 16.670 13.185,16.497 13.034,16.299 12.834 C 15.791 12.318,15.232 11.907,14.670 11.636 C 14.566 11.585,14.480 11.528,14.480 11.509 C 14.480 11.430,19.091 3.795,19.120 3.826 C 19.137 3.845,19.439 4.249,19.792 4.725 M14.198 8.030 C 14.198 8.046,13.797 8.724,13.308 9.535 L 12.420 11.010 12.000 11.011 L 11.580 11.013 10.671 9.506 L 9.763 8.000 11.981 8.000 C 13.202 8.000,14.199 8.014,14.198 8.030 M12.605 13.058 C 13.855 13.247,14.964 14.042,15.536 15.160 C 15.767 15.611,15.871 15.930,15.942 16.395 C 16.014 16.879,16.014 17.121,15.942 17.605 C 15.691 19.265,14.434 20.579,12.773 20.917 C 10.563 21.368,8.396 19.845,8.058 17.605 C 7.986 17.121,7.986 16.879,8.058 16.395 C 8.314 14.698,9.675 13.324,11.358 13.061 C 11.816 12.990,12.144 12.989,12.605 13.058 M11.240 15.037 C 10.793 15.173,10.512 15.546,10.512 16.003 C 10.512 16.293,10.619 16.537,10.830 16.727 L 10.993 16.874 11.007 17.590 L 11.020 18.307 11.141 18.503 C 11.543 19.156,12.457 19.156,12.859 18.503 L 12.980 18.306 12.980 17.003 L 12.980 15.700 12.872 15.516 C 12.740 15.293,12.533 15.128,12.290 15.055 C 12.096 14.997,11.411 14.985,11.240 15.037 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const MedalIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Medal = MedalIcon;