@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.09 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-gift" 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="M6.873 2.060 C 4.640 2.485,3.411 4.811,4.299 6.930 C 4.326 6.993,4.299 7.000,4.034 7.002 C 3.088 7.010,2.292 7.617,2.060 8.508 C 1.973 8.839,1.973 11.161,2.060 11.492 C 2.153 11.852,2.310 12.118,2.596 12.404 C 2.958 12.766,3.457 13.000,3.867 13.000 L 3.997 13.000 4.009 16.290 L 4.021 19.580 4.114 19.860 C 4.445 20.850,5.184 21.582,6.160 21.886 L 6.460 21.980 12.000 21.980 L 17.540 21.980 17.840 21.886 C 18.816 21.582,19.555 20.850,19.886 19.860 L 19.979 19.580 19.991 16.290 L 20.003 13.000 20.133 13.000 C 20.543 13.000,21.042 12.766,21.404 12.404 C 21.694 12.114,21.841 11.863,21.937 11.491 C 22.026 11.149,22.028 8.903,21.940 8.529 C 21.858 8.182,21.720 7.927,21.465 7.653 C 21.066 7.224,20.566 7.007,19.966 7.002 C 19.701 7.000,19.674 6.993,19.701 6.930 C 20.548 4.909,19.477 2.689,17.378 2.114 C 17.115 2.041,16.956 2.027,16.460 2.028 C 15.946 2.029,15.804 2.045,15.467 2.133 C 14.550 2.375,13.640 2.975,12.940 3.800 C 12.647 4.145,12.295 4.640,12.121 4.950 C 12.068 5.044,12.015 5.120,12.003 5.120 C 11.990 5.119,11.878 4.953,11.753 4.750 C 10.927 3.402,9.749 2.446,8.533 2.137 C 8.029 2.009,7.314 1.976,6.873 2.060 M7.990 4.060 C 8.489 4.178,8.990 4.499,9.439 4.989 C 9.858 5.446,10.321 6.195,10.561 6.803 L 10.640 7.003 8.890 6.992 L 7.140 6.980 6.900 6.868 C 6.583 6.720,6.275 6.413,6.135 6.104 C 6.040 5.896,6.024 5.808,6.024 5.500 C 6.023 5.191,6.039 5.106,6.134 4.900 C 6.455 4.201,7.185 3.870,7.990 4.060 M16.808 4.045 C 17.270 4.143,17.665 4.462,17.866 4.900 C 17.961 5.106,17.977 5.192,17.977 5.500 C 17.977 5.808,17.961 5.894,17.866 6.100 C 17.722 6.414,17.414 6.724,17.104 6.867 L 16.860 6.980 15.110 6.992 L 13.360 7.003 13.439 6.803 C 13.710 6.116,14.194 5.363,14.679 4.878 C 15.393 4.162,16.084 3.891,16.808 4.045 M11.000 10.000 L 11.000 11.000 7.500 11.000 L 4.000 11.000 4.000 10.000 L 4.000 9.000 7.500 9.000 L 11.000 9.000 11.000 10.000 M20.000 10.000 L 20.000 11.000 16.500 11.000 L 13.000 11.000 13.000 10.000 L 13.000 9.000 16.500 9.000 L 20.000 9.000 20.000 10.000 M11.000 16.501 L 11.000 20.003 8.850 19.991 L 6.700 19.980 6.516 19.872 C 6.415 19.813,6.284 19.700,6.225 19.623 C 5.994 19.320,6.000 19.418,6.000 16.075 L 6.000 13.000 8.500 13.000 L 11.000 13.000 11.000 16.501 M18.000 16.054 C 18.000 19.367,18.003 19.325,17.779 19.618 C 17.718 19.698,17.585 19.813,17.484 19.872 L 17.300 19.980 15.150 19.991 L 13.000 20.003 13.000 16.501 L 13.000 13.000 15.500 13.000 L 18.000 13.000 18.000 16.054 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const GiftIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Gift = GiftIcon;