@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.2 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-spade" 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="M11.640 1.068 C 11.484 1.121,10.970 1.619,7.768 4.815 C 4.088 8.488,3.359 9.239,2.781 9.960 C 1.522 11.530,0.936 13.121,1.012 14.760 C 1.089 16.394,1.709 17.839,2.838 19.015 C 3.779 19.994,5.016 20.649,6.420 20.910 C 6.869 20.994,8.185 21.003,8.660 20.926 C 9.429 20.801,10.114 20.580,10.668 20.277 C 10.827 20.191,10.965 20.120,10.976 20.120 C 10.987 20.120,11.001 20.612,11.008 21.213 L 11.020 22.307 11.141 22.503 C 11.209 22.613,11.346 22.756,11.452 22.828 C 11.923 23.144,12.554 22.999,12.859 22.503 L 12.980 22.307 12.992 21.213 C 12.999 20.612,13.009 20.120,13.015 20.120 C 13.021 20.120,13.214 20.216,13.445 20.333 C 14.834 21.039,16.719 21.196,18.301 20.739 C 20.435 20.122,22.122 18.435,22.739 16.301 C 23.233 14.594,23.010 12.851,22.092 11.240 C 21.406 10.035,21.045 9.638,16.504 5.095 C 12.865 1.455,12.524 1.124,12.343 1.065 C 12.102 0.986,11.878 0.987,11.640 1.068 M15.564 6.990 C 17.512 8.943,19.263 10.729,19.455 10.960 C 20.627 12.371,21.088 13.563,20.969 14.880 C 20.891 15.739,20.609 16.498,20.129 17.143 C 19.402 18.120,18.414 18.731,17.225 18.938 C 16.533 19.059,15.607 18.994,14.914 18.776 C 14.258 18.571,13.623 18.163,12.922 17.495 C 12.517 17.110,12.315 17.002,12.000 17.002 C 11.685 17.002,11.483 17.110,11.078 17.495 C 10.147 18.382,9.386 18.786,8.357 18.941 C 6.556 19.211,4.923 18.557,3.871 17.143 C 3.433 16.556,3.136 15.805,3.044 15.060 C 2.986 14.583,2.989 14.337,3.058 13.880 C 3.203 12.928,3.668 12.013,4.544 10.960 C 4.848 10.595,11.942 3.440,12.000 3.440 C 12.012 3.440,13.616 5.038,15.564 6.990 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SpadeIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Spade = SpadeIcon;