UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.78 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-usb" 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="M19.187 2.545 C 17.393 3.143,17.304 3.186,17.122 3.540 C 17.041 3.698,17.020 3.795,17.021 4.019 C 17.023 4.353,17.082 4.483,17.373 4.790 L 17.576 5.004 12.479 10.101 C 9.676 12.904,7.371 15.185,7.357 15.169 C 7.317 15.123,6.200 12.306,6.200 12.251 C 6.200 12.224,6.929 11.466,7.821 10.566 L 9.441 8.929 9.591 8.963 C 9.986 9.055,10.528 8.979,10.930 8.775 C 11.196 8.640,11.638 8.200,11.771 7.937 C 11.994 7.498,12.052 7.007,11.940 6.529 C 11.858 6.182,11.720 5.927,11.465 5.653 C 10.659 4.786,9.341 4.786,8.535 5.653 C 8.138 6.081,7.976 6.538,8.011 7.139 L 8.031 7.498 6.101 9.459 C 5.040 10.538,4.138 11.483,4.097 11.560 C 4.046 11.657,4.022 11.786,4.021 11.980 C 4.020 12.253,4.042 12.315,4.910 14.481 C 5.400 15.702,5.800 16.719,5.800 16.741 C 5.800 16.763,5.516 17.065,5.169 17.411 L 4.537 18.042 4.195 18.015 C 3.534 17.965,2.972 18.181,2.534 18.653 C 1.954 19.280,1.834 20.159,2.225 20.930 C 2.361 21.199,2.801 21.639,3.070 21.775 C 3.659 22.073,4.341 22.073,4.930 21.775 C 5.196 21.640,5.638 21.200,5.771 20.937 C 5.973 20.539,6.051 20.009,5.964 19.635 L 5.931 19.489 8.075 17.345 C 9.255 16.165,10.238 15.200,10.260 15.200 C 10.281 15.200,11.297 15.599,12.518 16.087 C 13.924 16.649,14.805 16.980,14.924 16.991 C 15.040 17.002,15.193 16.983,15.326 16.940 C 15.524 16.875,15.650 16.761,17.040 15.382 L 18.540 13.893 18.700 13.950 C 18.926 14.030,19.277 13.993,19.490 13.867 C 19.702 13.742,20.804 12.630,20.904 12.440 C 20.957 12.340,20.979 12.214,20.979 12.000 C 20.980 11.590,20.905 11.475,20.154 10.737 C 19.504 10.100,19.348 10.000,19.000 10.000 C 18.652 10.000,18.496 10.100,17.846 10.737 C 17.508 11.069,17.187 11.416,17.132 11.510 C 17.006 11.726,16.969 12.075,17.050 12.306 L 17.108 12.472 15.944 13.636 C 15.303 14.276,14.762 14.800,14.740 14.800 C 14.692 14.800,11.872 13.679,11.831 13.643 C 11.815 13.629,13.421 11.999,15.399 10.021 L 18.996 6.424 19.210 6.627 C 19.524 6.924,19.646 6.978,20.000 6.979 C 20.258 6.980,20.327 6.964,20.492 6.867 C 20.597 6.805,20.736 6.682,20.800 6.594 C 20.949 6.388,22.000 3.253,22.000 3.014 C 22.000 2.464,21.534 2.000,20.983 2.000 C 20.881 2.000,20.211 2.203,19.187 2.545 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const UsbIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Usb = UsbIcon;