UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.74 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-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="M7.499 1.043 C 6.378 1.234,5.460 2.049,5.114 3.160 C 4.979 3.594,4.979 4.406,5.114 4.840 C 5.482 6.023,6.511 6.876,7.698 6.984 L 8.000 7.011 8.000 8.938 C 8.000 11.107,7.995 11.157,7.728 11.435 C 7.619 11.549,7.314 11.723,6.579 12.092 C 5.410 12.678,5.181 12.823,4.828 13.197 C 4.507 13.538,4.284 13.914,4.138 14.360 C 4.037 14.670,4.025 14.766,4.009 15.443 C 3.990 16.274,4.019 16.490,4.202 16.877 C 4.348 17.186,4.771 17.623,5.070 17.775 C 5.515 18.000,5.511 18.000,8.367 18.000 L 10.997 18.000 11.009 20.153 L 11.020 22.306 11.141 22.503 C 11.543 23.156,12.457 23.156,12.859 22.503 L 12.980 22.306 12.991 20.153 L 13.003 18.000 15.633 18.000 C 18.489 18.000,18.485 18.000,18.930 17.775 C 19.196 17.640,19.638 17.200,19.771 16.937 C 19.953 16.578,20.000 16.306,20.000 15.606 C 20.000 14.941,19.972 14.722,19.832 14.280 C 19.655 13.723,19.176 13.098,18.667 12.758 C 18.533 12.668,17.972 12.369,17.421 12.092 C 16.331 11.545,16.180 11.434,16.065 11.096 C 16.009 10.931,16.000 10.651,16.000 8.958 L 16.000 7.011 16.302 6.984 C 17.489 6.876,18.518 6.023,18.886 4.840 C 19.021 4.406,19.021 3.594,18.886 3.160 C 18.582 2.183,17.832 1.428,16.861 1.121 L 16.540 1.020 12.120 1.014 C 9.689 1.011,7.609 1.024,7.499 1.043 M16.310 3.061 C 16.688 3.173,17.000 3.598,17.000 4.001 C 17.000 4.176,16.897 4.462,16.779 4.618 C 16.595 4.859,16.376 4.961,15.952 5.001 C 15.475 5.047,15.231 5.122,14.937 5.312 C 14.485 5.604,14.141 6.091,14.039 6.583 C 14.011 6.722,14.000 7.540,14.008 9.045 L 14.021 11.300 14.135 11.640 C 14.346 12.267,14.733 12.806,15.240 13.176 C 15.383 13.281,15.968 13.601,16.540 13.888 C 17.943 14.592,18.000 14.658,18.000 15.547 L 18.000 16.000 12.000 16.000 L 6.000 16.000 6.000 15.547 C 6.000 14.666,6.069 14.586,7.410 13.916 C 8.551 13.346,8.820 13.176,9.171 12.803 C 9.585 12.364,9.829 11.882,9.957 11.248 C 9.984 11.113,10.000 10.265,9.999 8.908 C 9.999 6.614,9.990 6.493,9.784 6.087 C 9.572 5.669,9.054 5.227,8.623 5.098 C 8.511 5.065,8.253 5.021,8.048 5.001 C 7.501 4.949,7.211 4.748,7.058 4.316 C 6.884 3.820,7.180 3.215,7.673 3.063 C 7.962 2.974,16.011 2.972,16.310 3.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const PinIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Pin = PinIcon;