@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.54 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-rocket" 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="M21.220 1.026 C 19.048 1.157,17.197 1.670,15.404 2.638 C 14.523 3.113,14.074 3.406,13.260 4.035 C 12.700 4.468,11.520 5.649,11.079 6.217 C 10.893 6.457,10.704 6.697,10.660 6.750 L 10.579 6.845 10.180 6.764 C 9.388 6.603,8.807 6.545,8.000 6.545 C 7.124 6.545,6.642 6.621,6.082 6.845 C 5.164 7.212,4.465 7.949,3.886 9.160 C 3.380 10.216,2.946 11.718,3.016 12.169 C 3.055 12.423,3.255 12.710,3.497 12.859 L 3.694 12.980 6.138 12.991 L 8.583 13.002 9.791 14.211 L 10.998 15.420 11.009 17.863 L 11.020 20.306 11.141 20.503 C 11.290 20.745,11.577 20.945,11.831 20.984 C 12.100 21.026,12.740 20.887,13.620 20.597 C 15.174 20.084,16.264 19.390,16.819 18.560 C 17.511 17.525,17.658 15.974,17.258 13.921 C 17.205 13.647,17.174 13.411,17.191 13.396 C 17.207 13.382,17.454 13.183,17.739 12.955 C 18.670 12.212,19.659 11.193,20.334 10.285 C 21.995 8.046,22.967 5.155,22.977 2.420 C 22.980 1.707,22.979 1.698,22.872 1.516 C 22.604 1.061,22.275 0.963,21.220 1.026 M20.960 3.051 C 20.960 3.057,20.932 3.287,20.899 3.561 C 20.566 6.268,19.419 8.594,17.475 10.508 C 16.417 11.550,15.414 12.261,13.900 13.044 C 13.205 13.404,12.348 13.800,12.265 13.800 C 12.240 13.800,11.763 13.343,11.205 12.785 C 10.302 11.882,10.194 11.760,10.220 11.675 C 10.267 11.524,10.797 10.418,11.034 9.980 C 12.253 7.722,13.428 6.331,15.103 5.157 C 16.573 4.129,18.210 3.460,19.980 3.164 C 20.244 3.120,20.541 3.077,20.640 3.069 C 20.739 3.061,20.852 3.051,20.890 3.047 C 20.928 3.043,20.960 3.045,20.960 3.051 M9.090 8.603 C 9.283 8.629,9.440 8.667,9.440 8.686 C 9.440 8.706,9.345 8.897,9.229 9.111 C 9.028 9.481,8.583 10.401,8.406 10.810 L 8.324 11.000 6.822 11.000 C 5.921 11.000,5.320 10.985,5.320 10.963 C 5.320 10.880,5.576 10.238,5.743 9.900 C 6.189 9.001,6.557 8.707,7.440 8.544 C 7.610 8.513,8.721 8.552,9.090 8.603 M15.405 14.970 C 15.486 15.594,15.477 16.554,15.386 16.911 C 15.247 17.452,14.936 17.804,14.263 18.180 C 14.016 18.318,13.310 18.613,13.110 18.662 L 12.999 18.689 13.010 17.178 L 13.020 15.668 13.350 15.530 C 13.531 15.454,14.044 15.207,14.490 14.981 C 14.935 14.755,15.311 14.568,15.326 14.565 C 15.340 14.562,15.375 14.745,15.405 14.970 M5.240 15.060 C 3.912 15.326,2.920 16.438,2.220 18.444 C 1.807 19.629,1.438 21.336,1.518 21.693 C 1.605 22.075,1.923 22.392,2.305 22.473 C 2.698 22.557,4.320 22.211,5.556 21.780 C 7.897 20.963,9.003 19.777,9.004 18.080 C 9.004 17.517,8.914 17.125,8.671 16.640 C 8.535 16.369,8.427 16.227,8.140 15.940 C 7.648 15.448,7.187 15.189,6.567 15.058 C 6.240 14.989,5.590 14.989,5.240 15.060 M6.380 17.095 C 6.601 17.198,6.754 17.337,6.890 17.556 C 6.967 17.679,6.980 17.756,6.980 18.080 C 6.980 18.421,6.969 18.479,6.872 18.644 C 6.685 18.961,6.327 19.253,5.800 19.517 C 5.361 19.736,4.308 20.114,3.941 20.182 L 3.789 20.211 3.818 20.055 C 3.883 19.703,4.256 18.668,4.479 18.218 C 4.802 17.566,5.179 17.152,5.551 17.040 C 5.781 16.970,6.170 16.996,6.380 17.095 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const RocketIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Rocket = RocketIcon;