UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 3.67 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-expand" 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="M2.580 2.094 C 2.343 2.204,2.155 2.405,2.064 2.646 C 2.004 2.803,1.998 3.089,2.009 5.563 L 2.020 8.306 2.141 8.503 C 2.543 9.156,3.457 9.156,3.859 8.503 L 3.980 8.306 3.992 6.866 L 4.004 5.425 6.212 7.628 C 7.426 8.840,8.481 9.862,8.555 9.899 C 9.010 10.128,9.601 9.944,9.867 9.492 C 9.964 9.327,9.980 9.258,9.979 9.000 C 9.979 8.788,9.957 8.659,9.905 8.560 C 9.865 8.483,8.839 7.425,7.626 6.210 L 5.421 4.000 6.800 3.998 C 8.284 3.996,8.350 3.989,8.619 3.783 C 8.696 3.725,8.808 3.592,8.869 3.489 C 8.964 3.328,8.980 3.256,8.980 3.000 C 8.980 2.746,8.963 2.672,8.872 2.516 C 8.813 2.415,8.698 2.282,8.618 2.221 C 8.327 1.999,8.334 2.000,5.444 2.000 L 2.780 2.001 2.580 2.094 M15.695 2.057 C 15.466 2.129,15.256 2.299,15.128 2.516 C 15.037 2.672,15.020 2.746,15.020 3.000 C 15.020 3.256,15.036 3.328,15.131 3.489 C 15.192 3.592,15.304 3.725,15.381 3.783 C 15.650 3.989,15.716 3.996,17.200 3.998 L 18.579 4.000 16.374 6.210 C 15.161 7.425,14.138 8.481,14.101 8.555 C 13.872 9.010,14.056 9.601,14.508 9.867 C 14.673 9.964,14.742 9.980,15.000 9.979 C 15.212 9.979,15.341 9.957,15.440 9.905 C 15.517 9.865,16.574 8.840,17.788 7.628 L 19.996 5.425 20.008 6.866 L 20.020 8.306 20.141 8.503 C 20.543 9.156,21.457 9.156,21.859 8.503 L 21.980 8.306 21.991 5.563 C 22.002 3.089,21.996 2.803,21.936 2.646 C 21.845 2.405,21.657 2.204,21.420 2.094 L 21.220 2.001 18.540 2.003 C 16.466 2.005,15.823 2.017,15.695 2.057 M8.640 14.068 C 8.486 14.121,8.139 14.451,6.232 16.352 L 4.004 18.574 3.992 17.137 L 3.980 15.700 3.871 15.514 C 3.730 15.275,3.485 15.096,3.214 15.035 C 2.792 14.941,2.352 15.134,2.129 15.514 L 2.020 15.700 2.009 18.440 C 1.998 20.911,2.004 21.197,2.064 21.354 C 2.155 21.595,2.343 21.796,2.580 21.906 L 2.780 21.999 5.480 21.998 C 7.632 21.997,8.210 21.986,8.330 21.943 C 8.551 21.864,8.744 21.702,8.869 21.489 C 8.964 21.328,8.980 21.256,8.980 21.000 C 8.980 20.746,8.963 20.672,8.872 20.516 C 8.813 20.415,8.698 20.282,8.618 20.221 C 8.347 20.015,8.225 20.000,6.764 20.000 L 5.421 20.000 7.626 17.790 C 8.839 16.575,9.865 15.517,9.905 15.440 C 9.957 15.341,9.979 15.212,9.979 15.000 C 9.980 14.745,9.964 14.672,9.872 14.516 C 9.617 14.083,9.121 13.903,8.640 14.068 M14.670 14.061 C 14.448 14.142,14.250 14.309,14.128 14.516 C 14.036 14.672,14.020 14.745,14.021 15.000 C 14.021 15.212,14.043 15.341,14.095 15.440 C 14.135 15.517,15.161 16.575,16.374 17.790 L 18.579 20.000 17.236 20.000 C 15.775 20.000,15.653 20.015,15.382 20.221 C 15.302 20.282,15.187 20.415,15.128 20.516 C 15.037 20.672,15.020 20.746,15.020 21.000 C 15.020 21.256,15.036 21.328,15.131 21.489 C 15.256 21.702,15.449 21.864,15.670 21.943 C 15.790 21.986,16.368 21.997,18.520 21.998 L 21.220 21.999 21.420 21.906 C 21.657 21.796,21.845 21.595,21.936 21.354 C 21.996 21.197,22.002 20.911,21.991 18.440 L 21.980 15.700 21.871 15.514 C 21.479 14.848,20.521 14.848,20.129 15.514 L 20.020 15.700 20.008 17.137 L 19.996 18.574 17.768 16.352 C 15.755 14.346,15.521 14.124,15.343 14.065 C 15.107 13.987,14.874 13.986,14.670 14.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ExpandIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Expand = ExpandIcon;