UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.55 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-image" 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="M4.499 2.043 C 3.380 2.232,2.461 3.048,2.114 4.160 L 2.020 4.460 2.020 12.000 L 2.020 19.540 2.114 19.840 C 2.422 20.827,3.173 21.578,4.160 21.886 L 4.460 21.980 12.000 21.980 L 19.540 21.980 19.840 21.886 C 20.827 21.578,21.578 20.827,21.886 19.840 L 21.980 19.540 21.980 12.000 L 21.980 4.460 21.886 4.160 C 21.581 3.182,20.832 2.428,19.861 2.121 L 19.540 2.020 12.120 2.014 C 8.039 2.011,4.609 2.024,4.499 2.043 M19.310 4.061 C 19.589 4.144,19.856 4.411,19.939 4.690 C 19.992 4.867,20.000 5.413,20.000 8.734 L 20.000 12.574 19.190 11.775 C 18.745 11.335,18.299 10.920,18.200 10.853 C 17.668 10.492,17.193 10.352,16.500 10.352 C 15.809 10.352,15.343 10.489,14.800 10.851 C 14.701 10.917,12.584 13.004,10.095 15.490 L 5.570 20.009 5.135 19.994 C 4.750 19.981,4.679 19.967,4.516 19.872 C 4.415 19.812,4.284 19.700,4.225 19.623 C 3.986 19.309,4.000 19.795,4.000 12.022 C 4.000 5.758,4.007 4.870,4.061 4.690 C 4.140 4.421,4.412 4.143,4.673 4.063 C 4.964 3.974,19.009 3.971,19.310 4.061 M8.499 6.040 C 7.363 6.246,6.460 7.049,6.114 8.160 C 5.979 8.594,5.979 9.406,6.114 9.840 C 6.421 10.826,7.174 11.579,8.160 11.886 C 8.594 12.021,9.406 12.021,9.840 11.886 C 10.826 11.579,11.579 10.826,11.886 9.840 C 12.021 9.406,12.021 8.594,11.886 8.160 C 11.581 7.179,10.810 6.407,9.861 6.129 C 9.500 6.023,8.832 5.980,8.499 6.040 M9.310 8.061 C 9.688 8.173,10.000 8.598,10.000 9.001 C 10.000 9.331,9.784 9.696,9.484 9.872 C 9.328 9.963,9.254 9.980,9.000 9.980 C 8.746 9.980,8.672 9.963,8.516 9.872 C 7.935 9.530,7.833 8.774,8.304 8.303 C 8.583 8.024,8.916 7.944,9.310 8.061 M16.920 12.425 C 17.010 12.462,17.587 13.009,18.530 13.951 L 20.000 15.420 20.000 17.263 C 20.000 19.265,19.993 19.337,19.779 19.618 C 19.718 19.698,19.585 19.813,19.484 19.872 L 19.300 19.980 13.860 19.990 L 8.420 20.001 12.160 16.258 C 14.217 14.199,15.949 12.489,16.009 12.457 C 16.274 12.316,16.625 12.304,16.920 12.425 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ImageIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Image = ImageIcon;