UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.1 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-map-pin" 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="M11.340 1.024 C 10.026 1.160,9.091 1.415,8.060 1.918 C 6.244 2.804,4.840 4.202,3.939 6.020 C 3.326 7.257,2.999 8.633,3.000 9.980 C 3.003 13.237,5.032 16.964,8.917 20.841 C 9.987 21.910,10.806 22.638,11.099 22.781 C 11.693 23.072,12.307 23.072,12.901 22.781 C 13.195 22.638,14.016 21.908,15.083 20.842 C 18.970 16.958,20.997 13.236,21.000 9.980 C 21.001 7.642,20.047 5.341,18.379 3.663 C 17.011 2.285,15.247 1.392,13.320 1.101 C 12.911 1.039,11.662 0.991,11.340 1.024 M13.102 3.098 C 16.099 3.551,18.490 5.983,18.924 9.020 C 18.999 9.547,18.991 10.617,18.907 11.080 C 18.528 13.191,17.174 15.574,14.883 18.160 C 14.116 19.026,12.124 20.960,11.999 20.960 C 11.933 20.960,11.411 20.487,10.585 19.680 C 7.470 16.635,5.556 13.643,5.097 11.098 C 5.010 10.616,4.999 9.558,5.076 9.020 C 5.480 6.194,7.575 3.879,10.340 3.205 C 10.624 3.135,11.064 3.069,11.540 3.023 C 11.813 2.997,12.726 3.041,13.102 3.098 M11.358 6.061 C 10.230 6.237,9.143 6.974,8.569 7.953 C 7.320 10.083,8.233 12.785,10.512 13.704 C 12.558 14.528,14.877 13.538,15.704 11.488 C 16.090 10.530,16.090 9.469,15.705 8.516 C 15.172 7.197,14.001 6.269,12.605 6.058 C 12.144 5.989,11.816 5.990,11.358 6.061 M12.523 8.073 C 13.262 8.266,13.850 8.924,13.967 9.690 C 14.067 10.343,13.873 10.933,13.403 11.404 C 13.002 11.807,12.547 12.000,12.000 12.000 C 11.485 12.000,11.038 11.822,10.653 11.465 C 9.323 10.229,10.189 8.005,12.000 8.005 C 12.143 8.005,12.378 8.036,12.523 8.073 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const MapPinIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const MapPin = MapPinIcon;