UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.44 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-external-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="M14.695 2.057 C 14.466 2.129,14.256 2.299,14.128 2.516 C 14.037 2.672,14.020 2.746,14.020 3.000 C 14.020 3.256,14.036 3.328,14.131 3.489 C 14.256 3.702,14.449 3.864,14.670 3.943 C 14.787 3.985,15.234 3.997,16.700 3.998 L 18.580 4.000 13.874 8.710 C 11.286 11.300,9.135 13.483,9.095 13.560 C 9.043 13.659,9.021 13.788,9.021 14.000 C 9.020 14.258,9.036 14.327,9.133 14.492 C 9.263 14.714,9.502 14.901,9.736 14.965 C 9.938 15.019,10.266 14.989,10.445 14.899 C 10.519 14.862,12.699 12.715,15.289 10.128 L 19.997 5.423 20.009 7.365 L 20.020 9.306 20.141 9.503 C 20.543 10.156,21.457 10.156,21.859 9.503 L 21.980 9.306 21.991 6.063 C 22.001 3.126,21.996 2.804,21.936 2.646 C 21.845 2.405,21.657 2.204,21.420 2.094 L 21.220 2.001 18.040 2.003 C 15.557 2.005,14.824 2.017,14.695 2.057 M4.499 5.043 C 3.383 5.230,2.461 6.048,2.114 7.160 L 2.020 7.460 2.020 13.500 L 2.020 19.540 2.114 19.840 C 2.422 20.827,3.173 21.578,4.160 21.886 L 4.460 21.980 10.500 21.980 L 16.540 21.980 16.840 21.886 C 17.827 21.578,18.578 20.827,18.886 19.840 L 18.980 19.540 18.980 16.120 L 18.980 12.700 18.871 12.514 C 18.479 11.848,17.521 11.848,17.129 12.514 L 17.020 12.700 17.000 15.980 C 16.985 18.483,16.968 19.287,16.930 19.373 C 16.842 19.572,16.672 19.761,16.484 19.872 L 16.300 19.980 10.500 19.980 L 4.700 19.980 4.516 19.872 C 4.415 19.813,4.284 19.700,4.225 19.623 C 3.987 19.311,4.000 19.655,4.000 13.522 C 4.000 7.182,3.978 7.628,4.303 7.303 C 4.618 6.988,4.471 7.000,8.037 6.998 C 10.558 6.997,11.210 6.986,11.330 6.943 C 11.551 6.864,11.744 6.702,11.869 6.489 C 11.964 6.328,11.980 6.256,11.980 6.000 C 11.980 5.746,11.963 5.672,11.872 5.516 C 11.813 5.415,11.698 5.282,11.618 5.221 C 11.323 4.996,11.382 5.000,7.904 5.005 C 6.142 5.007,4.609 5.025,4.499 5.043 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ExternalLinkIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const ExternalLink = ExternalLinkIcon;