@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.11 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-file-type" 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.499 1.043 C 4.380 1.232,3.461 2.048,3.114 3.160 L 3.020 3.460 3.020 12.000 L 3.020 20.540 3.114 20.840 C 3.422 21.827,4.173 22.578,5.160 22.886 L 5.460 22.980 12.000 22.980 L 18.540 22.980 18.840 22.886 C 19.816 22.582,20.554 21.851,20.886 20.860 L 20.980 20.580 20.991 13.723 C 21.001 7.466,20.996 6.848,20.936 6.663 C 20.876 6.475,20.673 6.262,18.225 3.816 C 16.452 2.043,15.527 1.147,15.420 1.096 C 15.266 1.023,15.085 1.020,10.480 1.014 C 7.851 1.011,5.609 1.024,5.499 1.043 M13.009 4.790 C 13.023 6.533,13.026 6.587,13.116 6.860 C 13.437 7.835,14.165 8.563,15.140 8.884 C 15.413 8.974,15.467 8.977,17.210 8.991 L 19.000 9.005 19.000 14.556 C 19.000 19.144,18.990 20.139,18.945 20.290 C 18.872 20.533,18.707 20.740,18.484 20.872 L 18.300 20.980 12.000 20.980 L 5.700 20.980 5.516 20.872 C 5.415 20.813,5.284 20.700,5.225 20.623 C 4.985 20.308,5.000 20.888,5.000 12.022 C 5.000 2.888,4.974 3.632,5.304 3.303 C 5.615 2.991,5.409 3.006,9.427 3.003 L 12.995 3.000 13.009 4.790 M18.250 6.992 C 18.080 6.999,17.436 6.999,16.820 6.992 L 15.700 6.980 15.516 6.872 C 15.415 6.813,15.284 6.700,15.225 6.623 C 15.009 6.340,15.000 6.265,15.000 4.785 L 15.000 3.420 16.780 5.200 L 18.561 6.980 18.250 6.992 M8.695 11.057 C 8.466 11.129,8.256 11.299,8.128 11.516 C 8.023 11.694,8.020 11.723,8.007 12.404 C 7.999 12.825,8.011 13.172,8.037 13.268 C 8.099 13.498,8.287 13.737,8.508 13.867 C 8.673 13.964,8.743 13.980,9.003 13.980 C 9.271 13.980,9.329 13.966,9.503 13.859 C 9.742 13.712,9.946 13.422,9.982 13.179 L 10.009 13.000 10.505 13.000 L 11.000 13.000 11.000 14.994 L 11.000 16.987 10.786 17.035 C 10.515 17.096,10.270 17.275,10.129 17.514 C 10.036 17.672,10.020 17.745,10.020 18.000 C 10.020 18.256,10.036 18.328,10.131 18.489 C 10.256 18.702,10.449 18.864,10.670 18.943 C 10.885 19.020,13.115 19.020,13.330 18.943 C 13.551 18.864,13.744 18.702,13.869 18.489 C 13.964 18.328,13.980 18.256,13.980 18.000 C 13.980 17.745,13.964 17.672,13.871 17.514 C 13.730 17.275,13.485 17.096,13.214 17.035 L 13.000 16.987 13.000 14.994 L 13.000 13.000 13.495 13.000 L 13.991 13.000 14.018 13.179 C 14.054 13.422,14.258 13.712,14.497 13.859 C 14.671 13.966,14.729 13.980,14.997 13.980 C 15.257 13.980,15.327 13.964,15.492 13.867 C 15.713 13.737,15.901 13.498,15.963 13.268 C 15.989 13.172,16.001 12.825,15.993 12.404 C 15.980 11.723,15.977 11.694,15.872 11.516 C 15.740 11.293,15.533 11.128,15.290 11.055 C 15.030 10.977,8.945 10.979,8.695 11.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const FileTypeIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const FileType = FileTypeIcon;