@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.96 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-dna" 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="M14.662 1.064 C 14.426 1.139,14.181 1.379,13.659 2.049 C 12.387 3.679,11.623 5.417,11.263 7.500 C 11.174 8.012,11.182 8.188,11.304 8.432 C 11.623 9.073,12.446 9.182,12.929 8.647 L 13.072 8.488 13.206 8.628 C 13.280 8.704,13.421 8.815,13.520 8.873 C 13.672 8.963,13.747 8.980,14.000 8.980 C 14.257 8.980,14.327 8.964,14.492 8.867 C 14.714 8.737,14.901 8.498,14.965 8.264 C 15.019 8.061,14.989 7.733,14.898 7.555 C 14.861 7.481,14.559 7.146,14.228 6.811 L 13.626 6.202 13.779 5.811 C 13.863 5.596,14.012 5.260,14.109 5.064 L 14.287 4.709 15.353 5.770 C 15.940 6.354,16.483 6.864,16.560 6.905 C 16.659 6.957,16.787 6.979,17.000 6.979 C 17.258 6.980,17.327 6.964,17.492 6.867 C 17.968 6.587,18.139 5.967,17.865 5.508 C 17.810 5.416,17.243 4.819,16.605 4.183 L 15.445 3.026 15.645 2.787 C 15.901 2.480,15.962 2.359,15.988 2.101 C 16.030 1.700,15.802 1.287,15.436 1.098 C 15.254 1.004,14.900 0.988,14.662 1.064 M19.670 8.061 C 19.448 8.142,19.250 8.309,19.128 8.516 C 19.036 8.672,19.020 8.746,19.020 9.004 C 19.020 9.276,19.033 9.328,19.149 9.514 L 19.277 9.721 18.991 9.864 C 18.834 9.944,18.500 10.089,18.248 10.187 L 17.791 10.366 17.441 10.024 C 17.034 9.625,16.841 9.522,16.498 9.521 C 15.877 9.519,15.393 10.094,15.524 10.678 C 15.545 10.773,15.558 10.855,15.551 10.861 C 15.492 10.916,14.066 10.971,12.000 10.999 C 10.625 11.018,9.410 11.043,9.300 11.056 C 9.190 11.068,8.884 11.098,8.620 11.122 C 6.468 11.317,4.740 11.895,2.960 13.014 C 2.178 13.506,1.245 14.283,1.112 14.553 C 0.974 14.834,0.982 15.235,1.131 15.489 C 1.335 15.836,1.709 16.029,2.100 15.989 C 2.359 15.962,2.480 15.901,2.788 15.644 L 3.027 15.444 3.184 15.605 C 3.459 15.890,3.656 15.980,4.000 15.980 C 4.257 15.980,4.327 15.964,4.492 15.867 C 4.986 15.577,5.143 14.954,4.842 14.472 L 4.720 14.275 5.110 14.093 C 5.325 13.993,5.660 13.849,5.856 13.773 L 6.212 13.634 6.536 13.951 C 6.943 14.349,7.054 14.424,7.301 14.469 C 7.750 14.550,8.186 14.339,8.377 13.949 C 8.484 13.731,8.520 13.430,8.462 13.245 C 8.441 13.181,8.456 13.158,8.528 13.142 C 8.829 13.073,9.873 13.032,12.120 13.000 C 13.517 12.979,14.732 12.954,14.820 12.943 C 14.908 12.931,15.187 12.903,15.440 12.879 C 17.830 12.651,19.946 11.854,21.740 10.504 C 22.363 10.036,22.793 9.639,22.885 9.449 C 23.195 8.809,22.805 8.098,22.099 8.015 C 21.803 7.980,21.598 8.054,21.270 8.315 L 20.977 8.547 20.745 8.336 C 20.398 8.021,20.033 7.928,19.670 8.061 M9.670 15.061 C 9.448 15.142,9.250 15.309,9.128 15.516 C 9.036 15.672,9.020 15.745,9.021 16.000 C 9.021 16.214,9.043 16.340,9.096 16.440 C 9.136 16.517,9.439 16.852,9.768 17.184 L 10.366 17.789 10.218 18.184 C 10.136 18.402,9.990 18.740,9.892 18.935 L 9.714 19.290 8.627 18.211 C 7.678 17.269,7.515 17.124,7.343 17.066 C 6.864 16.905,6.382 17.084,6.128 17.516 C 6.037 17.672,6.020 17.746,6.020 18.000 C 6.020 18.254,6.036 18.328,6.127 18.480 C 6.186 18.579,6.757 19.181,7.395 19.817 L 8.555 20.974 8.355 21.213 C 8.099 21.520,8.038 21.641,8.011 21.900 C 7.971 22.291,8.164 22.665,8.511 22.869 C 8.669 22.962,8.746 22.980,8.980 22.980 C 9.489 22.980,9.685 22.819,10.515 21.720 C 11.667 20.195,12.394 18.488,12.737 16.500 C 12.826 15.989,12.818 15.812,12.697 15.569 C 12.513 15.200,12.094 14.968,11.704 15.019 C 11.453 15.052,11.301 15.129,11.093 15.330 L 10.926 15.491 10.715 15.307 C 10.386 15.019,10.019 14.932,9.670 15.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const DnaIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Dna = DnaIcon;