UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 1.82 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-pentagon" 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="M11.429 1.061 C 11.094 1.124,10.728 1.264,10.465 1.429 C 10.374 1.486,8.464 2.847,6.220 4.455 C 1.752 7.656,1.677 7.715,1.370 8.305 C 1.044 8.932,0.929 9.647,1.055 10.269 C 1.116 10.569,4.026 19.516,4.262 20.128 C 4.611 21.032,5.459 21.734,6.448 21.937 C 6.720 21.993,7.378 22.000,12.000 22.000 C 17.742 22.000,17.539 22.008,18.121 21.765 C 18.826 21.470,19.472 20.820,19.737 20.140 C 19.936 19.630,22.890 10.537,22.945 10.268 C 23.071 9.647,22.956 8.931,22.630 8.305 C 22.323 7.714,22.251 7.658,17.732 4.419 C 15.462 2.791,13.473 1.393,13.312 1.312 C 12.784 1.043,12.043 0.945,11.429 1.061 M12.433 3.112 C 12.613 3.206,20.534 8.884,20.694 9.033 C 20.896 9.223,20.978 9.428,20.975 9.740 C 20.973 9.998,20.850 10.392,19.445 14.660 C 18.605 17.212,17.877 19.381,17.827 19.480 C 17.722 19.686,17.466 19.898,17.249 19.958 C 17.150 19.986,15.391 20.000,12.000 20.000 C 8.609 20.000,6.850 19.986,6.751 19.958 C 6.534 19.898,6.278 19.686,6.173 19.480 C 6.123 19.381,5.395 17.212,4.555 14.660 C 3.149 10.390,3.027 9.998,3.025 9.740 C 3.022 9.428,3.104 9.223,3.306 9.033 C 3.405 8.941,11.206 3.331,11.485 3.152 C 11.743 2.986,12.159 2.969,12.433 3.112 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const PentagonIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Pentagon = PentagonIcon;