UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.61 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-croissant" 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="M5.460 1.041 C 5.138 1.091,4.695 1.251,4.390 1.427 C 4.033 1.634,3.463 2.224,3.242 2.615 C 2.894 3.234,2.649 4.058,2.554 4.931 L 2.507 5.363 2.234 5.544 C 1.200 6.231,0.793 7.701,1.116 9.580 C 1.329 10.819,1.802 11.993,2.505 13.028 L 2.847 13.532 2.737 13.856 C 2.604 14.250,2.559 14.963,2.640 15.417 C 2.963 17.251,4.618 19.377,6.684 20.612 C 7.147 20.888,7.751 21.146,8.273 21.289 C 8.518 21.356,8.702 21.374,9.180 21.377 C 9.736 21.380,9.805 21.372,10.127 21.266 L 10.473 21.153 10.909 21.454 C 13.390 23.169,16.760 23.503,18.117 22.167 C 18.267 22.020,18.446 21.808,18.515 21.695 L 18.641 21.489 18.951 21.462 C 19.668 21.398,20.627 21.148,21.140 20.890 C 21.693 20.612,22.237 20.137,22.537 19.668 C 23.145 18.717,23.152 17.289,22.553 16.370 C 21.974 15.480,20.783 15.000,19.157 15.000 L 18.808 15.000 18.678 14.770 C 18.511 14.473,18.121 14.091,17.773 13.885 C 17.622 13.795,17.022 13.513,16.439 13.257 C 15.857 13.002,15.375 12.788,15.369 12.782 C 15.363 12.776,15.340 12.620,15.319 12.435 C 15.211 11.487,14.801 10.674,14.062 9.940 C 13.328 9.213,12.439 8.771,11.543 8.689 L 11.226 8.660 10.758 7.590 C 10.500 7.001,10.212 6.391,10.119 6.234 C 9.911 5.884,9.535 5.500,9.229 5.325 L 9.000 5.194 9.000 4.787 C 8.998 2.720,8.207 1.411,6.760 1.081 C 6.499 1.021,5.739 0.998,5.460 1.041 M6.340 3.044 C 6.745 3.154,6.931 3.583,6.985 4.530 L 7.012 5.000 5.786 5.000 L 4.559 5.000 4.585 4.830 C 4.702 4.066,4.992 3.439,5.341 3.200 C 5.618 3.009,5.995 2.950,6.340 3.044 M8.280 7.100 C 8.394 7.203,8.507 7.431,8.960 8.473 C 9.164 8.944,9.315 9.340,9.295 9.357 C 9.177 9.463,4.306 12.123,4.285 12.093 C 4.271 12.073,4.202 11.974,4.131 11.873 C 3.944 11.606,3.584 10.909,3.442 10.540 C 3.105 9.662,2.944 8.612,3.039 7.923 C 3.129 7.272,3.277 7.128,3.960 7.025 C 4.015 7.017,4.990 7.012,6.126 7.015 C 8.132 7.020,8.194 7.022,8.280 7.100 M11.993 10.881 C 12.694 11.226,13.266 11.970,13.310 12.596 C 13.324 12.780,13.311 12.905,13.268 13.007 C 13.178 13.222,10.098 18.783,9.933 19.028 C 9.729 19.331,9.532 19.417,9.106 19.389 C 8.274 19.335,7.286 18.763,6.257 17.740 C 5.608 17.095,5.247 16.613,4.938 15.980 C 4.518 15.117,4.484 14.527,4.836 14.185 C 4.922 14.100,6.049 13.451,7.660 12.557 C 11.343 10.514,11.040 10.666,11.372 10.690 C 11.589 10.706,11.718 10.745,11.993 10.881 M15.603 15.074 C 16.672 15.543,16.796 15.604,16.900 15.720 C 16.978 15.806,16.980 15.865,16.980 17.994 C 16.980 19.945,16.973 20.204,16.911 20.401 C 16.773 20.847,16.499 20.973,15.660 20.976 C 14.914 20.979,14.365 20.880,13.571 20.599 C 13.050 20.414,12.342 20.039,11.908 19.716 C 11.874 19.691,14.631 14.680,14.679 14.680 C 14.694 14.680,15.109 14.857,15.603 15.074 M20.191 17.101 C 20.486 17.170,20.706 17.275,20.827 17.406 C 21.015 17.608,21.050 18.178,20.896 18.504 C 20.792 18.721,20.561 18.938,20.283 19.078 C 20.025 19.209,19.496 19.373,19.190 19.417 L 19.000 19.445 19.000 18.216 L 19.000 16.988 19.470 17.015 C 19.729 17.030,20.053 17.068,20.191 17.101 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const CroissantIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Croissant = CroissantIcon;