UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.25 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-carrot" 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.666 1.062 C 14.293 1.199,13.485 1.944,13.007 2.592 C 12.303 3.546,11.959 4.622,12.013 5.697 C 12.027 5.963,12.063 6.291,12.094 6.427 L 12.149 6.675 11.702 6.677 C 10.638 6.682,9.519 7.048,8.633 7.680 C 7.240 8.674,5.736 11.000,3.942 14.934 C 2.791 17.460,1.324 21.172,1.288 21.649 C 1.245 22.220,1.690 22.690,2.269 22.686 C 2.452 22.685,2.645 22.631,3.200 22.426 C 5.876 21.437,8.499 20.323,10.660 19.259 C 13.179 18.017,14.780 16.983,15.804 15.933 C 16.714 15.000,17.247 13.739,17.308 12.376 L 17.331 11.852 17.575 11.907 C 17.992 12.001,18.767 12.018,19.200 11.944 C 20.274 11.758,21.173 11.283,22.068 10.425 C 23.289 9.254,23.297 8.767,22.113 7.618 C 21.138 6.671,20.155 6.172,18.998 6.038 C 18.771 6.011,18.447 6.001,18.279 6.015 L 17.974 6.041 17.991 5.610 C 18.032 4.602,17.671 3.511,16.993 2.592 C 16.509 1.937,15.699 1.194,15.324 1.061 C 15.112 0.987,14.871 0.987,14.666 1.062 M15.200 3.543 C 15.829 4.310,16.117 5.205,15.946 5.869 C 15.841 6.277,15.610 6.701,15.146 7.336 L 14.944 7.612 14.791 7.439 C 14.545 7.163,14.279 6.703,14.146 6.328 C 14.037 6.019,14.023 5.928,14.022 5.520 C 14.020 5.119,14.035 5.015,14.134 4.711 C 14.197 4.519,14.332 4.227,14.434 4.062 C 14.612 3.776,14.958 3.324,15.000 3.324 C 15.011 3.324,15.101 3.423,15.200 3.543 M19.313 8.143 C 19.494 8.202,19.776 8.334,19.940 8.436 C 20.226 8.613,20.674 8.957,20.678 9.002 C 20.681 9.039,20.138 9.450,19.873 9.610 C 19.735 9.694,19.477 9.810,19.301 9.868 C 19.027 9.958,18.909 9.974,18.500 9.975 C 18.084 9.976,17.977 9.962,17.700 9.869 C 17.334 9.747,16.917 9.511,16.607 9.248 L 16.393 9.068 16.507 8.975 C 16.960 8.600,17.779 8.134,18.148 8.041 C 18.408 7.975,18.949 8.022,19.313 8.143 M12.762 8.780 C 13.198 8.891,13.556 9.089,13.933 9.428 C 14.461 9.902,14.832 10.335,14.985 10.658 C 15.337 11.401,15.411 12.371,15.174 13.166 L 15.113 13.372 14.267 12.528 C 13.721 11.983,13.367 11.661,13.271 11.621 C 13.080 11.542,12.679 11.543,12.489 11.622 C 12.150 11.763,11.881 12.170,11.881 12.540 C 11.881 12.910,11.989 13.058,12.976 14.040 C 13.473 14.534,13.880 14.957,13.880 14.980 C 13.879 15.041,13.118 15.595,12.515 15.973 C 11.042 16.897,8.823 17.986,6.000 19.170 C 4.689 19.720,4.042 19.975,4.019 19.952 C 3.952 19.886,5.565 16.139,6.425 14.363 L 6.801 13.585 7.431 14.207 C 7.777 14.550,8.121 14.861,8.195 14.898 C 8.268 14.936,8.424 14.977,8.540 14.989 C 9.262 15.063,9.808 14.373,9.579 13.675 C 9.516 13.482,9.424 13.375,8.674 12.618 C 8.215 12.155,7.840 11.763,7.840 11.747 C 7.840 11.694,8.320 10.955,8.608 10.564 C 9.368 9.534,10.062 8.989,10.880 8.779 C 11.415 8.642,12.224 8.642,12.762 8.780 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const CarrotIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Carrot = CarrotIcon;