UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.96 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-link" 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="M16.040 1.139 C 15.066 1.302,14.147 1.681,13.413 2.224 C 13.075 2.474,11.095 4.376,10.944 4.596 C 10.800 4.804,10.760 4.936,10.761 5.193 C 10.763 5.742,11.198 6.168,11.757 6.168 C 11.881 6.168,12.053 6.139,12.138 6.103 C 12.241 6.060,12.634 5.702,13.316 5.028 C 13.879 4.471,14.457 3.933,14.600 3.832 C 15.318 3.323,16.088 3.079,16.975 3.081 C 18.661 3.083,20.176 4.175,20.723 5.782 C 20.891 6.275,20.933 6.613,20.909 7.260 C 20.892 7.706,20.866 7.893,20.782 8.178 C 20.655 8.606,20.393 9.125,20.123 9.480 C 20.015 9.623,19.155 10.507,18.213 11.444 C 16.401 13.246,16.228 13.393,15.601 13.665 C 15.026 13.914,14.735 13.972,14.040 13.976 C 13.355 13.980,13.079 13.933,12.530 13.717 C 11.921 13.478,11.366 13.074,10.930 12.554 C 10.618 12.181,10.424 12.053,10.119 12.017 C 9.391 11.932,8.826 12.617,9.056 13.307 C 9.191 13.716,10.064 14.604,10.770 15.053 C 12.569 16.196,14.782 16.309,16.696 15.355 C 17.505 14.952,17.711 14.776,19.704 12.783 C 21.010 11.477,21.618 10.841,21.789 10.600 C 22.451 9.666,22.828 8.642,22.915 7.537 C 22.998 6.488,22.822 5.508,22.376 4.529 C 21.620 2.870,20.005 1.592,18.168 1.198 C 17.656 1.088,16.534 1.057,16.040 1.139 M9.160 8.062 C 7.939 8.233,6.872 8.744,5.911 9.617 C 5.088 10.364,2.463 13.050,2.213 13.400 C 0.667 15.566,0.682 18.419,2.249 20.520 C 2.831 21.300,3.709 22.003,4.593 22.398 C 5.376 22.747,5.967 22.880,6.860 22.907 C 7.859 22.937,8.557 22.810,9.423 22.440 C 10.285 22.073,10.665 21.782,11.975 20.484 C 13.144 19.326,13.239 19.201,13.239 18.820 C 13.239 18.450,12.970 18.043,12.631 17.902 C 12.441 17.823,12.040 17.822,11.850 17.902 C 11.756 17.941,11.334 18.328,10.681 18.974 C 10.120 19.530,9.553 20.064,9.422 20.160 C 9.098 20.397,8.575 20.653,8.140 20.785 C 7.804 20.888,7.731 20.895,7.060 20.895 C 6.391 20.895,6.315 20.887,5.980 20.786 C 4.683 20.393,3.690 19.446,3.266 18.198 C 3.112 17.745,3.067 17.374,3.091 16.740 C 3.121 15.929,3.311 15.349,3.771 14.660 C 3.948 14.395,7.159 11.143,7.524 10.859 C 7.988 10.498,8.542 10.232,9.120 10.093 C 9.341 10.040,9.573 10.022,10.000 10.023 C 10.731 10.025,11.118 10.113,11.745 10.419 C 12.283 10.682,12.701 11.005,13.067 11.442 C 13.382 11.819,13.590 11.957,13.888 11.987 C 14.615 12.062,15.172 11.379,14.944 10.693 C 14.804 10.270,13.903 9.362,13.191 8.926 C 11.941 8.162,10.558 7.865,9.160 8.062 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const LinkIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Link = LinkIcon;