UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.41 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-bus" 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 5.043 C 2.393 5.228,1.488 6.024,1.114 7.140 L 1.020 7.420 1.009 12.772 C 1.002 16.324,1.012 18.175,1.039 18.276 C 1.099 18.498,1.290 18.739,1.508 18.867 L 1.700 18.980 2.927 19.000 L 4.155 19.020 4.316 19.340 C 4.686 20.072,5.360 20.637,6.160 20.886 C 6.594 21.021,7.406 21.021,7.840 20.886 C 8.645 20.635,9.318 20.069,9.688 19.330 L 9.853 19.000 11.500 19.000 L 13.147 19.000 13.312 19.330 C 13.682 20.069,14.355 20.635,15.160 20.886 C 15.412 20.964,15.547 20.979,16.000 20.979 C 16.453 20.979,16.588 20.964,16.840 20.886 C 17.645 20.635,18.318 20.069,18.688 19.330 L 18.853 19.000 19.997 19.000 C 20.661 19.000,21.202 18.982,21.289 18.958 C 21.506 18.898,21.762 18.686,21.867 18.480 C 21.981 18.254,22.725 15.673,22.862 15.023 C 23.064 14.070,23.042 13.664,22.718 12.371 C 22.612 11.948,22.517 11.587,22.506 11.569 C 22.495 11.552,22.232 10.632,21.923 9.526 C 21.613 8.421,21.306 7.377,21.240 7.208 C 21.071 6.771,20.839 6.432,20.440 6.040 C 19.887 5.496,19.201 5.143,18.499 5.042 C 18.155 4.992,3.795 4.993,3.499 5.043 M7.000 9.000 L 7.000 11.000 5.000 11.000 L 3.000 11.000 3.000 9.447 C 3.000 7.649,3.007 7.599,3.304 7.303 C 3.596 7.011,3.629 7.006,5.430 7.003 L 7.000 7.000 7.000 9.000 M14.000 9.000 L 14.000 11.000 11.500 11.000 L 9.000 11.000 9.000 9.000 L 9.000 7.000 11.500 7.000 L 14.000 7.000 14.000 9.000 M18.612 7.156 C 18.919 7.312,19.247 7.634,19.359 7.890 C 19.418 8.024,20.099 10.392,20.222 10.890 L 20.249 11.000 18.124 11.000 L 16.000 11.000 16.000 8.997 L 16.000 6.995 17.172 7.007 L 18.344 7.020 18.612 7.156 M20.923 13.489 C 21.014 13.973,21.014 13.982,20.945 14.390 C 20.906 14.617,20.736 15.292,20.567 15.891 L 20.259 16.980 19.556 16.991 L 18.854 17.002 18.688 16.671 C 18.321 15.938,17.642 15.363,16.861 15.125 C 16.588 15.042,16.458 15.027,16.000 15.027 C 15.542 15.027,15.412 15.042,15.139 15.125 C 14.358 15.363,13.679 15.938,13.312 16.670 L 13.147 17.000 11.500 17.000 L 9.853 17.000 9.688 16.670 C 9.321 15.938,8.642 15.363,7.861 15.125 C 7.588 15.042,7.458 15.027,7.000 15.027 C 6.542 15.027,6.412 15.042,6.139 15.125 C 5.358 15.363,4.679 15.938,4.312 16.670 L 4.147 17.000 3.573 17.000 L 3.000 17.000 3.000 15.000 L 3.000 13.000 11.916 13.000 L 20.832 13.000 20.923 13.489 M7.310 17.061 C 7.688 17.173,8.000 17.598,8.000 18.001 C 8.000 18.331,7.784 18.696,7.484 18.872 C 7.328 18.963,7.254 18.980,7.000 18.980 C 6.746 18.980,6.672 18.963,6.516 18.872 C 5.935 18.530,5.833 17.774,6.304 17.303 C 6.583 17.024,6.916 16.944,7.310 17.061 M16.310 17.061 C 16.688 17.173,17.000 17.598,17.000 18.001 C 17.000 18.331,16.784 18.696,16.484 18.872 C 16.328 18.963,16.254 18.980,16.000 18.980 C 15.746 18.980,15.672 18.963,15.516 18.872 C 14.932 18.528,14.831 17.775,15.307 17.299 C 15.582 17.024,15.918 16.944,16.310 17.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const BusIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Bus = BusIcon;