UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.02 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-mail" 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 3.043 C 2.380 3.232,1.461 4.048,1.114 5.160 L 1.020 5.460 1.020 12.000 L 1.020 18.540 1.114 18.840 C 1.422 19.827,2.173 20.578,3.160 20.886 L 3.460 20.980 12.000 20.980 L 20.540 20.980 20.840 20.886 C 21.827 20.578,22.578 19.827,22.886 18.840 L 22.980 18.540 22.980 12.000 L 22.980 5.460 22.886 5.160 C 22.581 4.182,21.832 3.428,20.861 3.121 L 20.540 3.020 12.120 3.014 C 7.489 3.011,3.609 3.024,3.499 3.043 M20.310 5.061 C 20.589 5.144,20.856 5.411,20.939 5.690 C 20.973 5.802,20.999 6.022,20.999 6.177 L 20.998 6.460 16.709 9.185 C 14.350 10.684,12.359 11.931,12.284 11.955 C 12.093 12.018,11.849 12.007,11.654 11.928 C 11.563 11.891,9.579 10.645,7.245 9.160 L 3.002 6.460 3.001 6.177 C 3.001 6.022,3.027 5.802,3.061 5.690 C 3.140 5.421,3.412 5.143,3.673 5.063 C 3.833 5.014,5.030 5.005,11.983 5.003 C 19.144 5.000,20.130 5.007,20.310 5.061 M6.860 11.280 C 8.840 12.541,10.586 13.632,10.740 13.705 C 11.175 13.911,11.477 13.977,12.000 13.978 C 12.536 13.980,12.819 13.916,13.300 13.684 C 13.476 13.599,15.276 12.473,17.300 11.183 L 20.980 8.837 20.992 13.428 C 21.001 16.640,20.991 18.081,20.961 18.224 C 20.905 18.484,20.724 18.731,20.486 18.871 L 20.300 18.980 12.000 18.980 L 3.700 18.980 3.516 18.872 C 3.415 18.813,3.284 18.700,3.225 18.623 C 2.989 18.314,3.000 18.565,3.000 13.491 L 3.000 8.832 3.130 8.910 C 3.201 8.952,4.880 10.019,6.860 11.280 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const MailIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Mail = MailIcon;