@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.1 kB
JavaScript
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-cross" 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.499 1.042 C 9.382 1.237,8.484 2.028,8.115 3.140 C 8.023 3.418,8.022 3.438,8.009 5.708 L 7.996 7.996 5.728 8.009 L 3.460 8.022 3.139 8.122 C 2.171 8.425,1.419 9.181,1.114 10.160 C 1.022 10.453,1.020 10.497,1.020 12.000 C 1.020 13.503,1.022 13.547,1.114 13.840 C 1.419 14.816,2.153 15.557,3.140 15.885 C 3.418 15.977,3.438 15.978,5.708 15.991 L 7.996 16.004 8.009 18.292 C 8.022 20.562,8.023 20.582,8.115 20.860 C 8.443 21.847,9.184 22.581,10.160 22.886 C 10.453 22.978,10.497 22.980,12.000 22.980 C 13.503 22.980,13.547 22.978,13.840 22.886 C 14.807 22.584,15.544 21.860,15.875 20.887 L 15.979 20.580 15.992 18.292 L 16.004 16.004 18.292 15.991 C 20.562 15.978,20.582 15.977,20.860 15.885 C 21.847 15.557,22.581 14.816,22.886 13.840 C 22.978 13.547,22.980 13.503,22.980 12.000 C 22.980 10.497,22.978 10.453,22.886 10.160 C 22.581 9.181,21.829 8.425,20.861 8.122 L 20.540 8.022 18.272 8.009 L 16.004 7.996 15.991 5.708 C 15.978 3.438,15.977 3.418,15.885 3.140 C 15.560 2.160,14.815 1.418,13.861 1.124 C 13.548 1.027,13.504 1.024,12.120 1.015 C 11.339 1.010,10.609 1.022,10.499 1.042 M13.310 3.061 C 13.452 3.103,13.571 3.178,13.697 3.303 C 14.003 3.610,14.000 3.580,14.000 6.079 C 14.000 8.448,14.004 8.493,14.225 8.930 C 14.361 9.199,14.801 9.639,15.070 9.775 C 15.507 9.996,15.552 10.000,17.921 10.000 C 20.420 10.000,20.390 9.997,20.697 10.303 C 20.980 10.587,21.000 10.697,21.000 12.001 C 21.000 13.207,20.980 13.354,20.779 13.618 C 20.718 13.698,20.585 13.813,20.484 13.872 L 20.300 13.980 17.940 14.001 C 15.308 14.025,15.395 14.016,14.937 14.312 C 14.656 14.494,14.351 14.822,14.216 15.088 C 14.005 15.505,14.000 15.567,14.000 17.922 C 14.000 20.294,13.997 20.332,13.779 20.618 C 13.718 20.698,13.585 20.813,13.484 20.872 L 13.300 20.980 12.000 20.980 L 10.700 20.980 10.516 20.872 C 10.415 20.813,10.284 20.700,10.225 20.623 C 9.999 20.327,10.000 20.337,9.999 17.965 C 9.999 15.610,9.990 15.495,9.784 15.087 C 9.649 14.822,9.344 14.494,9.063 14.312 C 8.605 14.016,8.692 14.025,6.060 14.001 L 3.700 13.980 3.516 13.872 C 3.415 13.813,3.284 13.700,3.225 13.623 C 3.014 13.347,3.000 13.245,3.000 12.022 C 3.000 10.695,3.019 10.587,3.303 10.303 C 3.610 9.997,3.580 10.000,6.079 10.000 C 8.448 10.000,8.493 9.996,8.930 9.775 C 9.196 9.640,9.638 9.200,9.771 8.937 C 9.995 8.495,10.000 8.436,10.000 6.071 C 10.000 3.580,9.997 3.610,10.304 3.303 C 10.584 3.022,10.675 3.006,11.983 3.003 C 12.878 3.001,13.147 3.012,13.310 3.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const CrossIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Cross = CrossIcon;