UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.81 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-pen" 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.391 1.230,3.488 2.024,3.114 3.140 L 3.020 3.420 3.009 8.540 C 2.996 14.255,2.976 13.840,3.276 14.173 C 3.464 14.381,3.708 14.488,3.997 14.488 C 4.405 14.488,4.724 14.282,4.905 13.900 L 4.999 13.700 5.000 8.797 C 5.000 3.267,4.980 3.626,5.303 3.303 C 5.621 2.986,5.424 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 15.260 21.000 C 12.239 21.020,12.219 21.021,12.060 21.106 C 11.706 21.298,11.512 21.615,11.512 22.003 C 11.512 22.292,11.619 22.536,11.827 22.724 C 12.153 23.018,11.976 23.005,15.460 22.991 L 18.580 22.979 18.860 22.886 C 19.838 22.559,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 M11.330 11.044 C 10.849 11.124,10.379 11.337,9.960 11.662 C 9.646 11.907,4.476 17.103,4.329 17.323 C 4.066 17.715,3.947 18.039,3.478 19.642 C 3.011 21.240,2.994 21.311,3.014 21.590 C 3.052 22.135,3.371 22.602,3.875 22.850 C 4.110 22.966,4.174 22.980,4.479 22.979 C 4.794 22.977,4.937 22.943,6.360 22.525 C 8.121 22.008,8.454 21.871,8.920 21.468 C 9.498 20.968,14.341 16.069,14.500 15.823 C 15.161 14.802,15.162 13.420,14.502 12.426 C 14.165 11.918,13.594 11.449,13.039 11.223 C 12.561 11.028,11.864 10.955,11.330 11.044 M12.353 13.116 C 12.594 13.239,12.733 13.374,12.860 13.607 C 13.018 13.896,13.029 14.324,12.885 14.605 C 12.767 14.837,7.564 20.051,7.380 20.122 C 7.221 20.184,5.265 20.759,5.254 20.747 C 5.230 20.723,5.838 18.719,5.911 18.580 C 5.997 18.416,11.126 13.271,11.325 13.149 C 11.595 12.984,12.064 12.969,12.353 13.116 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const FilePenIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const FilePen = FilePenIcon;