@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.92 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-badge-alert" 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.520 1.025 C 10.322 1.177,9.339 1.637,8.516 2.429 L 8.172 2.760 7.776 2.760 C 6.553 2.761,5.352 3.207,4.473 3.989 C 3.372 4.967,2.760 6.304,2.760 7.730 L 2.760 8.169 2.484 8.439 C 1.535 9.365,1.000 10.650,1.000 12.000 C 1.000 13.349,1.531 14.624,2.484 15.564 L 2.760 15.836 2.760 16.273 C 2.760 17.455,3.212 18.653,3.988 19.526 C 4.969 20.630,6.301 21.240,7.731 21.240 L 8.172 21.240 8.536 21.591 C 9.456 22.478,10.547 22.939,11.840 22.988 C 13.216 23.039,14.462 22.561,15.457 21.599 L 15.828 21.240 16.244 21.240 C 17.696 21.239,19.029 20.633,20.012 19.526 C 20.789 18.652,21.240 17.456,21.240 16.269 L 21.240 15.828 21.573 15.483 C 22.257 14.773,22.698 13.936,22.908 12.948 C 23.004 12.496,23.004 11.504,22.908 11.052 C 22.698 10.064,22.257 9.227,21.573 8.517 L 21.240 8.172 21.240 7.731 C 21.240 6.780,20.943 5.791,20.418 5.000 C 19.490 3.599,17.922 2.761,16.224 2.760 L 15.828 2.760 15.484 2.429 C 14.780 1.751,13.880 1.279,12.953 1.100 C 12.618 1.036,11.781 0.992,11.520 1.025 M12.460 3.056 C 13.279 3.181,13.925 3.585,14.476 4.318 C 14.645 4.543,14.754 4.644,14.920 4.732 C 15.134 4.845,15.150 4.848,15.500 4.816 C 16.090 4.762,16.711 4.777,17.000 4.853 C 18.023 5.119,18.881 5.977,19.147 7.000 C 19.223 7.289,19.238 7.910,19.184 8.500 C 19.152 8.850,19.155 8.866,19.268 9.080 C 19.356 9.246,19.457 9.355,19.682 9.524 C 20.647 10.249,21.102 11.264,20.959 12.370 C 20.847 13.233,20.442 13.900,19.674 14.484 C 19.431 14.670,19.344 14.765,19.258 14.942 C 19.153 15.155,19.150 15.180,19.183 15.512 C 19.239 16.071,19.223 16.708,19.147 17.000 C 18.934 17.818,18.335 18.553,17.580 18.921 C 16.981 19.213,16.717 19.247,15.440 19.195 C 14.919 19.174,14.814 19.236,14.360 19.836 C 14.085 20.199,13.754 20.473,13.340 20.680 C 12.858 20.921,12.589 20.980,11.980 20.979 C 11.495 20.978,11.433 20.968,11.065 20.842 C 10.423 20.622,9.958 20.267,9.492 19.642 C 9.352 19.454,9.240 19.352,9.080 19.268 C 8.880 19.163,8.835 19.155,8.580 19.176 C 7.673 19.252,7.427 19.250,7.080 19.164 C 5.983 18.893,5.146 18.077,4.857 16.998 C 4.779 16.703,4.762 16.095,4.816 15.532 C 4.850 15.179,4.848 15.156,4.744 14.945 C 4.656 14.764,4.574 14.679,4.282 14.462 C 3.711 14.036,3.345 13.540,3.131 12.900 C 3.035 12.612,3.024 12.522,3.024 12.000 C 3.024 11.478,3.035 11.388,3.131 11.100 C 3.345 10.460,3.693 9.986,4.268 9.554 C 4.572 9.325,4.654 9.240,4.743 9.057 C 4.848 8.843,4.850 8.822,4.816 8.468 C 4.762 7.907,4.779 7.297,4.857 7.000 C 5.126 5.976,5.925 5.161,6.942 4.874 C 7.292 4.776,7.834 4.755,8.500 4.816 C 8.850 4.848,8.866 4.845,9.080 4.732 C 9.246 4.644,9.355 4.543,9.524 4.318 C 10.062 3.601,10.719 3.183,11.500 3.059 C 11.925 2.991,12.036 2.991,12.460 3.056 M11.695 7.057 C 11.466 7.129,11.256 7.299,11.128 7.516 L 11.020 7.700 11.020 10.003 L 11.020 12.306 11.141 12.503 C 11.209 12.613,11.346 12.756,11.452 12.828 C 11.923 13.144,12.554 12.999,12.859 12.503 L 12.980 12.306 12.980 10.003 L 12.980 7.700 12.872 7.516 C 12.628 7.101,12.150 6.915,11.695 7.057 M11.695 15.055 C 11.464 15.130,11.255 15.300,11.128 15.516 C 11.037 15.672,11.020 15.746,11.020 16.000 C 11.020 16.257,11.036 16.327,11.133 16.492 C 11.651 17.374,12.998 17.018,12.998 16.000 C 12.998 15.623,12.792 15.281,12.463 15.112 C 12.265 15.010,11.911 14.984,11.695 15.055 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const BadgeAlertIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const BadgeAlert = BadgeAlertIcon;