UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.32 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-battery-warning" 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="M3.499 6.043 C 2.383 6.230,1.461 7.048,1.114 8.160 L 1.020 8.460 1.020 12.000 L 1.020 15.540 1.114 15.840 C 1.419 16.817,2.158 17.563,3.140 17.884 C 3.404 17.970,3.495 17.976,4.764 17.991 C 5.647 18.001,6.163 17.992,6.268 17.963 C 6.498 17.901,6.737 17.713,6.867 17.492 C 6.964 17.327,6.980 17.257,6.980 17.000 C 6.980 16.746,6.963 16.672,6.872 16.516 C 6.761 16.327,6.569 16.156,6.373 16.071 C 6.296 16.038,5.854 16.016,4.980 16.001 L 3.700 15.980 3.516 15.872 C 3.415 15.813,3.284 15.700,3.225 15.623 C 2.994 15.320,3.000 15.423,3.000 12.022 C 3.000 8.472,2.988 8.618,3.303 8.303 C 3.587 8.019,3.694 8.000,5.037 7.998 C 6.266 7.996,6.356 7.984,6.619 7.783 C 6.696 7.725,6.808 7.592,6.869 7.489 C 6.964 7.328,6.980 7.256,6.980 7.000 C 6.980 6.746,6.963 6.672,6.872 6.516 C 6.813 6.415,6.698 6.282,6.618 6.221 C 6.350 6.016,6.216 6.000,4.904 6.005 C 4.242 6.007,3.609 6.025,3.499 6.043 M9.695 6.057 C 9.466 6.129,9.256 6.299,9.128 6.516 L 9.020 6.700 9.020 10.003 L 9.020 13.306 9.141 13.503 C 9.543 14.156,10.457 14.156,10.859 13.503 L 10.980 13.306 10.980 10.003 L 10.980 6.700 10.872 6.516 C 10.628 6.101,10.150 5.915,9.695 6.057 M13.695 6.055 C 13.464 6.130,13.255 6.300,13.128 6.516 C 13.037 6.672,13.020 6.746,13.020 7.000 C 13.020 7.256,13.036 7.328,13.131 7.489 C 13.192 7.592,13.304 7.725,13.381 7.783 C 13.644 7.984,13.734 7.996,14.963 7.998 C 16.306 8.000,16.413 8.019,16.697 8.303 C 17.012 8.618,17.000 8.475,17.000 12.001 C 17.000 15.372,17.003 15.324,16.779 15.618 C 16.718 15.698,16.585 15.813,16.484 15.872 L 16.300 15.980 15.020 16.001 C 14.146 16.016,13.704 16.038,13.627 16.071 C 13.431 16.156,13.239 16.327,13.128 16.516 C 13.037 16.672,13.020 16.746,13.020 17.000 C 13.020 17.257,13.036 17.327,13.133 17.492 C 13.263 17.713,13.502 17.901,13.732 17.963 C 13.837 17.992,14.353 18.001,15.236 17.991 C 16.505 17.976,16.596 17.970,16.860 17.884 C 17.842 17.563,18.581 16.817,18.886 15.840 L 18.980 15.540 18.980 12.000 L 18.980 8.460 18.886 8.160 C 18.581 7.181,17.825 6.421,16.861 6.124 C 16.551 6.028,16.495 6.025,15.200 6.014 C 14.166 6.005,13.822 6.014,13.695 6.055 M21.695 10.057 C 21.466 10.129,21.256 10.299,21.128 10.516 L 21.020 10.700 21.020 12.003 L 21.020 13.306 21.141 13.503 C 21.543 14.156,22.457 14.156,22.859 13.503 L 22.980 13.306 22.980 12.003 L 22.980 10.700 22.872 10.516 C 22.628 10.101,22.150 9.915,21.695 10.057 M9.695 16.055 C 9.464 16.130,9.255 16.300,9.128 16.516 C 9.037 16.672,9.020 16.746,9.020 17.000 C 9.020 17.257,9.036 17.327,9.133 17.492 C 9.651 18.374,10.998 18.018,10.998 17.000 C 10.998 16.623,10.792 16.281,10.463 16.112 C 10.265 16.010,9.911 15.984,9.695 16.055 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const BatteryWarningIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const BatteryWarning = BatteryWarningIcon;