UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.34 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-plus" 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.042 C 2.377 6.235,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.156 17.561,3.140 17.884 C 3.410 17.973,3.478 17.977,5.037 17.991 C 6.849 18.007,6.860 18.006,7.173 17.724 C 7.381 17.536,7.488 17.292,7.488 17.003 C 7.488 16.615,7.294 16.298,6.940 16.106 C 6.786 16.023,6.723 16.019,5.240 16.000 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.595 8.011,3.666 8.000,5.297 8.000 C 6.689 7.999,6.702 7.998,6.900 7.905 C 7.281 7.724,7.488 7.405,7.488 7.000 C 7.488 6.615,7.293 6.297,6.940 6.106 C 6.785 6.022,6.736 6.020,5.240 6.014 C 4.393 6.010,3.609 6.023,3.499 6.042 M13.240 6.036 C 12.789 6.179,12.512 6.546,12.512 7.000 C 12.512 7.405,12.719 7.724,13.100 7.905 C 13.298 7.998,13.311 7.999,14.703 8.000 C 16.334 8.000,16.405 8.011,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 14.760 16.000 C 13.277 16.019,13.214 16.023,13.060 16.106 C 12.706 16.298,12.512 16.615,12.512 17.003 C 12.512 17.292,12.619 17.536,12.827 17.724 C 13.140 18.006,13.151 18.007,14.963 17.991 C 16.522 17.977,16.590 17.973,16.860 17.884 C 17.844 17.561,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.826 6.422,16.861 6.123 C 16.545 6.025,16.517 6.024,14.940 6.014 C 14.060 6.009,13.295 6.018,13.240 6.036 M9.695 8.057 C 9.466 8.129,9.256 8.299,9.128 8.516 L 9.020 8.700 9.008 9.850 L 8.995 11.000 7.944 11.000 C 6.797 11.000,6.643 11.022,6.382 11.221 C 6.302 11.282,6.187 11.415,6.128 11.516 C 6.037 11.672,6.020 11.746,6.020 12.000 C 6.020 12.256,6.036 12.328,6.131 12.489 C 6.192 12.592,6.304 12.725,6.381 12.783 C 6.642 12.983,6.738 12.996,7.908 12.998 L 8.995 13.000 9.008 14.153 L 9.020 15.307 9.141 15.503 C 9.543 16.156,10.457 16.156,10.859 15.503 L 10.980 15.307 10.992 14.153 L 11.005 13.000 12.092 12.998 C 13.262 12.996,13.358 12.983,13.619 12.783 C 13.696 12.725,13.808 12.592,13.869 12.489 C 13.964 12.328,13.980 12.256,13.980 12.000 C 13.980 11.746,13.963 11.672,13.872 11.516 C 13.813 11.415,13.698 11.282,13.618 11.221 C 13.357 11.022,13.203 11.000,12.056 11.000 L 11.005 11.000 10.992 9.850 L 10.980 8.700 10.872 8.516 C 10.628 8.101,10.150 7.915,9.695 8.057 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 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const BatteryPlusIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const BatteryPlus = BatteryPlusIcon;