UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3 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-lollipop" 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="M10.340 2.024 C 9.026 2.160,8.091 2.415,7.060 2.918 C 5.244 3.804,3.840 5.202,2.939 7.020 C 1.688 9.542,1.688 12.458,2.939 14.980 C 3.404 15.918,3.897 16.609,4.621 17.337 C 7.349 20.077,11.484 20.777,14.940 19.083 C 15.468 18.824,16.037 18.479,16.438 18.173 L 16.616 18.037 18.518 19.934 C 19.564 20.978,20.481 21.862,20.555 21.899 C 21.010 22.128,21.601 21.944,21.867 21.492 C 21.964 21.327,21.980 21.258,21.979 21.000 C 21.979 20.788,21.957 20.659,21.905 20.560 C 21.865 20.483,20.978 19.564,19.934 18.518 L 18.037 16.616 18.173 16.438 C 18.479 16.037,18.824 15.468,19.083 14.940 C 20.302 12.453,20.302 9.548,19.084 7.060 C 17.773 4.384,15.266 2.546,12.320 2.101 C 11.911 2.039,10.662 1.991,10.340 2.024 M12.102 4.098 C 14.581 4.473,16.715 6.237,17.573 8.620 C 18.091 10.057,18.124 11.621,17.663 12.793 C 17.120 14.174,15.991 15.256,14.600 15.732 C 14.044 15.922,13.670 15.980,13.000 15.980 C 12.330 15.980,11.956 15.922,11.400 15.732 C 9.808 15.188,8.577 13.860,8.161 12.240 C 8.054 11.822,7.986 11.119,8.016 10.752 C 8.117 9.528,8.962 8.484,10.139 8.125 C 10.412 8.042,10.542 8.027,11.000 8.027 C 11.458 8.027,11.588 8.042,11.861 8.125 C 12.812 8.415,13.598 9.199,13.867 10.128 C 14.117 10.991,13.989 11.575,13.486 11.871 C 13.328 11.964,13.255 11.980,13.000 11.980 C 12.746 11.980,12.672 11.963,12.516 11.872 C 12.323 11.759,12.150 11.563,12.076 11.373 C 12.051 11.311,12.016 11.128,11.997 10.966 C 11.956 10.614,11.833 10.381,11.595 10.205 C 11.117 9.854,10.432 9.998,10.129 10.514 C 10.029 10.686,10.020 10.733,10.022 11.120 C 10.023 11.440,10.045 11.611,10.115 11.840 C 10.416 12.821,11.173 13.579,12.160 13.886 C 12.594 14.021,13.406 14.021,13.840 13.886 C 14.807 13.585,15.552 12.852,15.872 11.887 C 15.962 11.616,15.974 11.511,15.977 10.980 C 15.981 10.107,15.837 9.504,15.433 8.713 C 14.794 7.461,13.610 6.514,12.240 6.161 C 11.307 5.920,10.125 5.983,9.248 6.320 C 8.067 6.774,7.072 7.675,6.526 8.785 C 6.150 9.548,6.019 10.135,6.022 11.040 C 6.024 11.742,6.068 12.106,6.223 12.725 C 6.846 15.218,8.903 17.241,11.380 17.800 C 11.933 17.925,11.938 17.929,11.600 17.970 C 11.226 18.015,10.331 17.981,9.880 17.905 C 6.842 17.395,4.508 15.012,4.076 11.980 C 3.967 11.217,4.022 10.093,4.205 9.340 C 4.753 7.084,6.433 5.214,8.620 4.427 C 9.250 4.200,9.715 4.102,10.540 4.023 C 10.813 3.997,11.726 4.041,12.102 4.098 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const LollipopIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Lollipop = LollipopIcon;