UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.24 kB
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-code-2" 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 5.883 L 3.020 8.306 3.141 8.503 C 3.543 9.156,4.457 9.156,4.859 8.503 L 4.980 8.306 5.000 6.023 C 5.022 3.464,5.008 3.587,5.321 3.283 C 5.625 2.989,5.459 3.000,9.445 3.000 L 12.995 3.000 13.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 11.020 21.000 C 5.314 21.016,3.716 21.031,3.627 21.070 C 3.428 21.158,3.239 21.328,3.128 21.516 C 3.037 21.672,3.020 21.746,3.020 22.000 C 3.020 22.257,3.036 22.327,3.133 22.492 C 3.261 22.710,3.502 22.901,3.723 22.961 C 3.823 22.988,6.343 22.998,11.227 22.991 L 18.580 22.980 18.860 22.886 C 19.840 22.557,20.557 21.840,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 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 M4.660 11.067 C 4.477 11.122,4.326 11.261,2.847 12.734 C 1.960 13.617,1.186 14.421,1.127 14.520 C 1.037 14.672,1.020 14.746,1.020 15.000 C 1.020 15.254,1.036 15.328,1.127 15.480 C 1.261 15.704,4.371 18.807,4.555 18.899 C 5.009 19.128,5.601 18.944,5.867 18.492 C 5.964 18.327,5.980 18.258,5.979 18.000 C 5.979 17.787,5.957 17.659,5.905 17.560 C 5.864 17.483,5.289 16.875,4.626 16.210 L 3.422 15.000 4.626 13.790 C 5.289 13.125,5.864 12.517,5.905 12.440 C 5.957 12.341,5.979 12.213,5.979 12.000 C 5.980 11.745,5.964 11.672,5.872 11.516 C 5.740 11.293,5.533 11.128,5.290 11.055 C 5.062 10.986,4.914 10.989,4.660 11.067 M8.695 11.057 C 8.466 11.129,8.256 11.299,8.128 11.516 C 8.036 11.672,8.020 11.745,8.021 12.000 C 8.021 12.213,8.043 12.341,8.095 12.440 C 8.136 12.517,8.711 13.125,9.374 13.790 L 10.578 15.000 9.374 16.210 C 8.711 16.875,8.138 17.481,8.101 17.555 C 7.872 18.009,8.056 18.601,8.508 18.867 C 8.673 18.964,8.742 18.980,9.000 18.979 C 9.212 18.979,9.341 18.957,9.440 18.905 C 9.632 18.804,12.739 15.704,12.873 15.480 C 12.964 15.328,12.980 15.254,12.980 15.000 C 12.980 14.746,12.963 14.672,12.873 14.520 C 12.814 14.421,12.040 13.617,11.153 12.734 C 9.615 11.203,9.530 11.125,9.323 11.064 C 9.066 10.988,8.919 10.987,8.695 11.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const FileCode2Icon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const FileCode2 = FileCode2Icon;