@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.39 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-trash" 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.480 1.062 C 8.803 1.207,8.212 1.571,7.724 2.143 C 7.452 2.462,7.290 2.745,7.147 3.150 C 7.030 3.483,7.023 3.536,7.008 4.250 L 6.991 5.000 4.942 5.000 C 2.718 5.000,2.666 5.004,2.382 5.221 C 2.302 5.282,2.187 5.415,2.128 5.516 C 2.037 5.672,2.020 5.746,2.020 6.000 C 2.020 6.256,2.036 6.328,2.131 6.489 C 2.256 6.702,2.449 6.864,2.670 6.943 C 2.768 6.978,3.023 6.997,3.409 6.998 L 3.999 7.000 4.009 13.750 L 4.020 20.500 4.145 20.850 C 4.348 21.416,4.662 21.866,5.143 22.276 C 5.460 22.546,5.743 22.709,6.150 22.855 L 6.500 22.980 12.000 22.980 L 17.500 22.980 17.850 22.855 C 18.257 22.709,18.540 22.546,18.857 22.276 C 19.338 21.866,19.652 21.416,19.855 20.850 L 19.980 20.500 19.991 13.750 L 20.001 7.000 20.591 6.998 C 20.977 6.997,21.232 6.978,21.330 6.943 C 21.551 6.864,21.744 6.702,21.869 6.489 C 21.964 6.328,21.980 6.256,21.980 6.000 C 21.980 5.746,21.963 5.672,21.872 5.516 C 21.813 5.415,21.698 5.282,21.618 5.221 C 21.334 5.004,21.282 5.000,19.058 5.000 L 17.009 5.000 16.992 4.250 C 16.977 3.536,16.970 3.483,16.853 3.150 C 16.479 2.089,15.574 1.283,14.507 1.063 C 14.085 0.976,9.886 0.975,9.480 1.062 M14.354 3.093 C 14.527 3.188,14.813 3.474,14.906 3.646 C 14.965 3.755,14.982 3.895,14.993 4.390 L 15.007 5.000 12.004 5.000 L 9.000 5.000 9.000 4.470 C 9.000 4.178,9.018 3.878,9.039 3.803 C 9.124 3.508,9.451 3.164,9.753 3.055 C 9.870 3.013,10.346 3.004,12.060 3.011 C 14.068 3.019,14.229 3.025,14.354 3.093 M18.000 13.530 C 18.000 17.967,17.986 20.108,17.958 20.211 C 17.895 20.436,17.612 20.759,17.364 20.889 L 17.151 21.000 12.000 21.000 L 6.849 21.000 6.636 20.889 C 6.388 20.759,6.105 20.436,6.042 20.211 C 6.014 20.108,6.000 17.967,6.000 13.530 L 6.000 7.000 12.000 7.000 L 18.000 7.000 18.000 13.530 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const TrashIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Trash = TrashIcon;