UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.72 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-crosshair" 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.280 1.023 C 11.203 1.032,10.951 1.059,10.720 1.083 C 8.832 1.283,6.991 2.023,5.360 3.235 C 4.751 3.688,3.684 4.755,3.226 5.367 C 0.728 8.714,0.301 13.032,2.097 16.780 C 2.643 17.918,3.276 18.801,4.238 19.762 C 5.199 20.724,6.082 21.357,7.220 21.903 C 10.967 23.699,15.288 23.270,18.637 20.770 C 19.246 20.316,20.316 19.246,20.770 18.637 C 23.744 14.652,23.744 9.348,20.770 5.363 C 20.316 4.755,19.247 3.686,18.640 3.235 C 17.045 2.049,15.365 1.360,13.423 1.096 C 13.000 1.038,11.574 0.990,11.280 1.023 M11.008 4.693 L 11.020 6.306 11.141 6.503 C 11.543 7.156,12.457 7.156,12.859 6.503 L 12.980 6.306 12.992 4.688 L 13.003 3.069 13.240 3.094 C 14.335 3.208,15.864 3.774,16.880 4.440 C 17.947 5.140,18.860 6.053,19.560 7.120 C 20.227 8.137,20.792 9.665,20.906 10.761 L 20.931 11.000 19.412 11.000 C 17.761 11.000,17.657 11.011,17.382 11.221 C 17.302 11.282,17.187 11.415,17.128 11.516 C 17.037 11.672,17.020 11.746,17.020 12.000 C 17.020 12.256,17.036 12.328,17.131 12.489 C 17.192 12.592,17.304 12.725,17.381 12.783 C 17.653 12.991,17.702 12.996,19.376 12.998 L 20.931 13.000 20.906 13.239 C 20.792 14.335,20.227 15.863,19.560 16.880 C 19.038 17.676,18.297 18.493,17.600 19.043 C 16.352 20.027,14.751 20.716,13.252 20.914 L 13.003 20.946 12.992 19.323 L 12.980 17.700 12.871 17.514 C 12.479 16.848,11.521 16.848,11.129 17.514 L 11.020 17.700 11.008 19.323 L 10.997 20.946 10.748 20.914 C 9.232 20.714,7.609 20.011,6.370 19.019 C 5.670 18.458,4.957 17.668,4.440 16.880 C 3.773 15.863,3.208 14.335,3.094 13.239 L 3.069 13.000 4.624 12.998 C 6.298 12.996,6.347 12.991,6.619 12.783 C 6.696 12.725,6.808 12.592,6.869 12.489 C 6.964 12.328,6.980 12.256,6.980 12.000 C 6.980 11.746,6.963 11.672,6.872 11.516 C 6.813 11.415,6.698 11.282,6.618 11.221 C 6.343 11.011,6.239 11.000,4.588 11.000 L 3.069 11.000 3.094 10.761 C 3.208 9.665,3.773 8.137,4.440 7.120 C 5.140 6.053,6.053 5.140,7.120 4.440 C 7.944 3.900,9.191 3.386,10.120 3.205 C 10.351 3.160,10.576 3.115,10.620 3.106 C 10.664 3.097,10.767 3.087,10.848 3.085 L 10.997 3.080 11.008 4.693 " stroke="none" fill="black" fill-rule="evenodd"></path></svg>`; export const CrosshairIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Crosshair = CrosshairIcon;