UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.08 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-flag" 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="M6.960 1.041 C 5.364 1.178,3.941 1.663,3.324 2.280 C 2.967 2.637,2.998 1.611,3.010 12.584 L 3.020 22.306 3.141 22.503 C 3.543 23.156,4.457 23.156,4.859 22.503 L 4.980 22.306 4.991 18.916 L 5.002 15.526 5.271 15.425 C 6.041 15.134,6.750 15.026,7.880 15.025 C 8.622 15.025,8.750 15.035,9.220 15.134 C 9.840 15.265,10.373 15.439,11.500 15.881 C 13.660 16.726,14.491 16.941,15.780 16.987 C 17.190 17.037,18.609 16.809,19.633 16.367 C 20.128 16.154,20.406 15.982,20.660 15.733 C 21.032 15.369,21.002 15.983,20.990 8.918 L 20.980 2.700 20.871 2.514 C 20.650 2.139,20.204 1.939,19.797 2.033 C 19.687 2.059,19.487 2.154,19.354 2.244 C 18.685 2.698,17.737 2.940,16.440 2.987 C 15.129 3.035,14.385 2.866,12.340 2.059 C 10.867 1.478,10.070 1.236,9.180 1.099 C 8.687 1.023,7.524 0.993,6.960 1.041 M9.240 3.141 C 9.837 3.264,10.374 3.440,11.500 3.881 C 13.111 4.511,13.809 4.730,14.780 4.906 C 15.324 5.005,16.881 5.006,17.580 4.908 C 18.010 4.848,18.745 4.690,18.930 4.619 C 18.996 4.593,19.000 4.843,19.000 9.531 L 19.000 14.471 18.745 14.574 C 18.147 14.813,17.363 14.954,16.440 14.987 C 15.129 15.035,14.385 14.866,12.340 14.059 C 10.008 13.139,8.808 12.905,7.100 13.036 C 6.301 13.098,5.415 13.249,5.063 13.384 C 5.006 13.406,5.000 12.952,5.000 8.468 L 5.000 3.527 5.271 3.424 C 5.676 3.269,6.249 3.135,6.720 3.084 C 6.951 3.059,7.203 3.032,7.280 3.023 C 7.357 3.014,7.717 3.014,8.080 3.022 C 8.588 3.034,8.855 3.061,9.240 3.141 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const FlagIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Flag = FlagIcon;