UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.3 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-backpack" 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="M10.499 1.042 C 9.381 1.237,8.470 2.041,8.118 3.140 C 8.042 3.379,8.026 3.536,8.010 4.205 L 7.991 4.989 7.525 5.036 C 6.579 5.132,5.844 5.409,5.068 5.963 C 4.067 6.677,3.364 7.771,3.093 9.040 C 3.024 9.360,3.020 9.715,3.020 14.960 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.827 22.578,20.578 21.827,20.886 20.840 L 20.980 20.540 20.980 14.960 C 20.980 9.715,20.976 9.360,20.907 9.040 C 20.625 7.721,19.863 6.576,18.800 5.874 C 18.020 5.358,17.382 5.128,16.475 5.036 L 16.009 4.989 15.990 4.205 C 15.974 3.536,15.958 3.379,15.882 3.140 C 15.572 2.173,14.816 1.419,13.861 1.124 C 13.548 1.027,13.504 1.024,12.120 1.015 C 11.339 1.010,10.609 1.022,10.499 1.042 M13.310 3.061 C 13.452 3.103,13.571 3.178,13.697 3.303 C 13.948 3.554,14.000 3.751,14.000 4.447 L 14.000 5.000 12.000 5.000 L 10.000 5.000 10.000 4.447 C 10.000 3.750,10.052 3.554,10.304 3.303 C 10.584 3.022,10.675 3.006,11.983 3.003 C 12.878 3.001,13.147 3.012,13.310 3.061 M16.861 7.121 C 17.823 7.425,18.575 8.177,18.879 9.139 L 18.980 9.460 18.993 14.740 C 19.001 18.482,18.992 20.080,18.961 20.224 C 18.905 20.484,18.724 20.731,18.486 20.871 C 18.307 20.976,18.274 20.981,17.652 20.993 L 17.004 21.007 16.991 18.213 L 16.979 15.420 16.885 15.140 C 16.554 14.147,15.781 13.387,14.822 13.112 C 14.501 13.020,14.490 13.020,12.000 13.020 C 9.510 13.020,9.499 13.020,9.178 13.112 C 8.219 13.387,7.446 14.147,7.115 15.140 L 7.021 15.420 7.009 18.213 L 6.996 21.007 6.348 20.993 C 5.728 20.981,5.692 20.975,5.516 20.872 C 5.415 20.813,5.283 20.700,5.224 20.621 C 4.986 20.309,4.997 20.621,5.009 14.798 L 5.020 9.460 5.121 9.139 C 5.468 8.043,6.387 7.232,7.499 7.043 C 7.609 7.024,9.689 7.011,12.120 7.014 L 16.540 7.020 16.861 7.121 M7.695 9.057 C 7.466 9.129,7.256 9.299,7.128 9.516 C 7.037 9.672,7.020 9.746,7.020 10.000 C 7.020 10.256,7.036 10.328,7.131 10.489 C 7.256 10.702,7.449 10.864,7.670 10.943 C 7.892 11.022,16.108 11.022,16.330 10.943 C 16.551 10.864,16.744 10.702,16.869 10.489 C 16.964 10.328,16.980 10.256,16.980 10.000 C 16.980 9.746,16.963 9.672,16.872 9.516 C 16.740 9.293,16.533 9.128,16.290 9.055 C 16.029 8.976,7.946 8.979,7.695 9.057 M14.310 15.061 C 14.452 15.103,14.571 15.178,14.697 15.303 C 14.948 15.554,15.000 15.751,15.000 16.447 L 15.000 17.000 12.000 17.000 L 9.000 17.000 9.000 16.447 C 9.000 15.753,9.052 15.554,9.301 15.306 C 9.606 15.000,9.546 15.007,11.963 15.003 C 13.771 15.000,14.137 15.009,14.310 15.061 M15.000 20.000 L 15.000 21.000 12.000 21.000 L 9.000 21.000 9.000 20.000 L 9.000 19.000 12.000 19.000 L 15.000 19.000 15.000 20.000 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const BackpackIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Backpack = BackpackIcon;