@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.71 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-switch-camera" 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="M5.670 1.061 C 5.448 1.142,5.250 1.309,5.128 1.516 C 5.036 1.672,5.020 1.745,5.021 2.000 C 5.021 2.213,5.043 2.340,5.096 2.440 C 5.136 2.517,5.485 2.898,5.870 3.287 L 6.571 3.994 5.016 4.009 C 3.494 4.024,3.453 4.026,3.139 4.123 C 2.174 4.422,1.419 5.181,1.114 6.160 L 1.020 6.460 1.020 12.000 L 1.020 17.540 1.114 17.840 C 1.418 18.816,2.149 19.554,3.140 19.886 L 3.420 19.980 7.271 19.991 C 9.824 19.999,11.173 19.989,11.275 19.961 C 11.498 19.901,11.739 19.711,11.867 19.492 C 11.964 19.327,11.980 19.257,11.980 19.000 C 11.980 18.746,11.963 18.672,11.872 18.516 C 11.761 18.328,11.572 18.158,11.373 18.070 C 11.286 18.032,10.383 18.015,7.480 18.000 L 3.700 17.980 3.516 17.872 C 3.415 17.813,3.284 17.700,3.225 17.623 C 2.988 17.312,3.000 17.608,3.000 12.022 C 3.000 6.240,2.980 6.627,3.303 6.303 C 3.594 6.012,3.673 6.000,5.236 6.000 L 6.577 6.000 5.873 6.710 C 5.486 7.101,5.139 7.481,5.101 7.555 C 4.872 8.008,5.056 8.601,5.508 8.867 C 5.673 8.964,5.742 8.980,6.000 8.979 C 6.212 8.979,6.341 8.957,6.440 8.905 C 6.517 8.865,7.306 8.109,8.194 7.226 C 9.957 5.472,9.999 5.420,9.999 5.000 C 9.999 4.578,9.960 4.530,8.175 2.756 C 6.716 1.307,6.519 1.124,6.343 1.066 C 6.108 0.987,5.875 0.986,5.670 1.061 M12.695 4.056 C 12.465 4.129,12.256 4.299,12.128 4.516 C 12.037 4.672,12.020 4.746,12.020 5.000 C 12.020 5.256,12.036 5.328,12.131 5.489 C 12.256 5.702,12.449 5.864,12.670 5.943 C 12.791 5.986,13.524 5.997,16.463 5.998 C 20.586 6.000,20.379 5.985,20.697 6.303 C 21.020 6.627,21.000 6.243,21.000 12.001 C 21.000 16.212,20.990 17.139,20.945 17.290 C 20.872 17.533,20.707 17.740,20.484 17.872 L 20.300 17.980 18.860 17.992 L 17.420 18.004 18.125 17.292 C 18.513 16.900,18.864 16.517,18.904 16.440 C 18.957 16.340,18.979 16.213,18.979 16.000 C 18.980 15.745,18.964 15.672,18.872 15.516 C 18.618 15.084,18.137 14.906,17.657 15.066 C 17.481 15.124,17.284 15.307,15.825 16.756 C 14.040 18.530,14.001 18.578,14.001 19.000 C 14.001 19.420,14.043 19.472,15.806 21.226 C 16.694 22.109,17.481 22.862,17.555 22.899 C 18.010 23.128,18.601 22.944,18.867 22.492 C 18.964 22.327,18.980 22.258,18.979 22.000 C 18.979 21.787,18.957 21.660,18.904 21.560 C 18.864 21.483,18.515 21.102,18.130 20.713 L 17.429 20.006 19.004 19.991 C 20.520 19.977,20.591 19.973,20.860 19.884 C 21.844 19.561,22.581 18.817,22.886 17.840 L 22.980 17.540 22.980 12.000 L 22.980 6.460 22.886 6.160 C 22.581 5.182,21.831 4.427,20.861 4.122 L 20.540 4.021 16.700 4.012 C 13.626 4.006,12.827 4.014,12.695 4.056 M11.358 8.061 C 10.230 8.237,9.143 8.974,8.569 9.953 C 7.320 12.083,8.233 14.785,10.512 15.704 C 12.558 16.528,14.877 15.538,15.704 13.488 C 16.090 12.530,16.090 11.469,15.705 10.516 C 15.172 9.197,14.001 8.269,12.605 8.058 C 12.144 7.989,11.816 7.990,11.358 8.061 M12.523 10.073 C 13.262 10.266,13.850 10.924,13.967 11.690 C 14.067 12.343,13.873 12.933,13.403 13.404 C 13.002 13.807,12.547 14.000,12.000 14.000 C 11.485 14.000,11.038 13.822,10.653 13.465 C 9.323 12.229,10.189 10.005,12.000 10.005 C 12.143 10.005,12.378 10.036,12.523 10.073 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SwitchCameraIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const SwitchCamera = SwitchCameraIcon;