@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.58 kB
JavaScript
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-ship" 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="M11.695 1.057 C 11.466 1.129,11.256 1.299,11.128 1.516 L 11.020 1.700 11.008 2.848 L 10.996 3.996 8.728 4.009 L 6.460 4.022 6.139 4.122 C 5.182 4.421,4.442 5.159,4.114 6.140 L 4.021 6.420 4.009 9.443 L 3.997 12.466 3.229 12.803 C 2.036 13.326,1.973 13.420,2.012 14.598 C 2.059 16.017,2.296 17.218,2.805 18.613 C 2.989 19.116,3.499 20.187,3.772 20.640 C 3.871 20.805,3.946 20.946,3.940 20.953 C 3.933 20.960,3.803 20.922,3.652 20.869 C 3.380 20.775,3.130 20.621,2.668 20.263 C 2.330 20.000,2.074 19.945,1.705 20.057 C 0.976 20.276,0.766 21.181,1.319 21.718 C 1.565 21.958,2.199 22.407,2.500 22.556 C 3.850 23.224,5.688 23.124,6.885 22.318 C 7.025 22.223,7.387 21.961,7.690 21.734 C 8.543 21.095,8.736 21.021,9.540 21.024 C 10.324 21.027,10.500 21.100,11.400 21.801 C 11.675 22.015,12.028 22.272,12.185 22.373 C 13.508 23.227,15.572 23.203,16.885 22.318 C 17.025 22.223,17.387 21.961,17.690 21.734 C 18.543 21.095,18.736 21.021,19.540 21.024 C 20.283 21.026,20.501 21.109,21.230 21.665 C 21.675 22.004,21.946 22.072,22.322 21.939 C 22.953 21.717,23.186 21.008,22.818 20.434 C 22.629 20.139,21.572 19.430,21.053 19.250 L 20.926 19.206 21.103 18.756 C 21.674 17.310,21.997 15.702,21.999 14.297 C 22.001 13.431,21.886 13.292,20.771 12.803 L 20.003 12.466 19.991 9.443 L 19.979 6.420 19.886 6.140 C 19.558 5.159,18.818 4.421,17.861 4.122 L 17.540 4.022 15.272 4.009 L 13.004 3.996 12.992 2.848 L 12.980 1.700 12.872 1.516 C 12.628 1.101,12.150 0.915,11.695 1.057 M17.310 6.061 C 17.452 6.103,17.571 6.178,17.697 6.303 C 18.005 6.611,18.000 6.563,18.000 9.227 C 18.000 10.510,17.993 11.560,17.985 11.560 C 17.977 11.560,16.875 11.074,15.538 10.479 C 14.200 9.884,12.978 9.358,12.823 9.309 C 12.415 9.181,11.585 9.181,11.177 9.309 C 11.022 9.358,9.800 9.884,8.462 10.479 C 7.125 11.074,6.023 11.560,6.015 11.560 C 6.007 11.560,6.000 10.510,6.000 9.227 C 6.000 6.563,5.995 6.611,6.304 6.303 C 6.621 5.985,6.234 6.006,11.983 6.003 C 16.458 6.000,17.131 6.008,17.310 6.061 M11.008 12.933 L 11.020 14.306 11.141 14.503 C 11.209 14.613,11.346 14.756,11.452 14.828 C 11.923 15.144,12.554 14.999,12.859 14.503 L 12.980 14.306 12.992 12.933 C 12.999 12.178,13.017 11.561,13.032 11.562 C 13.047 11.563,14.608 12.253,16.500 13.095 L 19.940 14.626 19.953 14.783 C 20.000 15.345,19.683 16.864,19.319 17.820 C 19.137 18.300,18.811 18.989,18.746 19.029 C 18.721 19.045,18.547 19.097,18.360 19.144 C 17.685 19.315,17.318 19.513,16.426 20.185 C 16.093 20.437,15.712 20.696,15.580 20.761 C 14.965 21.066,14.045 21.076,13.433 20.784 C 13.316 20.727,13.103 20.591,12.960 20.480 C 12.046 19.771,11.822 19.616,11.460 19.439 C 10.743 19.089,9.924 18.951,9.053 19.034 C 8.075 19.127,7.518 19.362,6.554 20.088 C 6.293 20.284,6.060 20.432,6.035 20.417 C 5.955 20.367,5.470 19.588,5.215 19.100 C 4.511 17.748,4.182 16.570,4.022 14.835 L 4.005 14.651 7.473 13.107 C 9.380 12.259,10.953 11.563,10.968 11.562 C 10.983 11.561,11.001 12.178,11.008 12.933 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const ShipIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Ship = ShipIcon;