UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.84 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-pen-tool" 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="M2.620 1.039 C 2.166 1.139,1.826 1.333,1.523 1.664 C 1.169 2.051,0.975 2.593,1.010 3.099 C 1.023 3.294,1.528 5.280,2.657 9.580 C 3.552 12.990,4.337 15.951,4.401 16.160 C 4.534 16.592,4.700 16.863,5.001 17.133 C 5.406 17.497,5.438 17.506,8.568 18.133 L 11.420 18.705 11.407 18.902 C 11.389 19.180,11.491 19.624,11.641 19.925 C 11.747 20.139,11.935 20.347,12.794 21.208 C 13.743 22.158,13.842 22.246,14.120 22.377 C 14.712 22.657,15.297 22.656,15.888 22.375 C 16.168 22.241,16.301 22.115,19.208 19.208 C 22.154 16.262,22.240 16.172,22.377 15.880 C 22.657 15.287,22.656 14.702,22.374 14.112 C 22.247 13.845,22.147 13.732,21.208 12.798 C 19.944 11.541,19.797 11.449,19.022 11.428 L 18.704 11.420 18.133 8.568 C 17.507 5.440,17.497 5.406,17.135 5.003 C 16.914 4.757,16.682 4.591,16.407 4.483 C 16.296 4.439,13.319 3.645,9.793 2.718 C 3.109 0.961,3.043 0.946,2.620 1.039 M10.294 4.917 C 13.216 5.685,15.617 6.324,15.629 6.336 C 15.642 6.348,15.936 7.776,16.283 9.509 L 16.915 12.660 14.787 14.787 L 12.660 16.915 9.509 16.283 C 7.776 15.936,6.348 15.642,6.336 15.629 C 6.310 15.603,3.517 4.989,3.533 4.974 C 3.539 4.968,4.608 6.029,5.909 7.332 L 8.274 9.700 8.149 10.060 C 8.033 10.395,8.024 10.459,8.022 10.980 C 8.020 11.459,8.034 11.583,8.114 11.840 C 8.422 12.827,9.174 13.579,10.160 13.886 C 10.594 14.021,11.406 14.021,11.840 13.886 C 12.826 13.579,13.579 12.826,13.886 11.840 C 14.021 11.406,14.021 10.594,13.886 10.160 C 13.581 9.181,12.822 8.418,11.861 8.125 C 11.588 8.042,11.458 8.027,11.000 8.027 C 10.535 8.027,10.416 8.041,10.140 8.128 C 9.964 8.183,9.793 8.240,9.760 8.254 C 9.717 8.273,9.010 7.590,7.320 5.900 C 6.011 4.591,4.949 3.520,4.960 3.520 C 4.971 3.520,7.371 4.149,10.294 4.917 M11.310 10.061 C 11.688 10.173,12.000 10.598,12.000 11.001 C 12.000 11.331,11.784 11.696,11.484 11.872 C 11.328 11.963,11.254 11.980,11.000 11.980 C 10.746 11.980,10.672 11.963,10.516 11.872 C 9.935 11.530,9.833 10.774,10.304 10.303 C 10.583 10.024,10.916 9.944,11.310 10.061 M19.800 14.220 L 20.580 15.000 17.790 17.790 L 15.000 20.580 14.210 19.790 L 13.420 19.000 16.200 16.220 C 17.729 14.691,18.989 13.440,19.000 13.440 C 19.012 13.440,19.372 13.791,19.800 14.220 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const PenToolIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const PenTool = PenToolIcon;