import type { SVGProps } from "react";

export interface VNMProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * Vietnam — VNM icon from flag category
 *
 * @example
 * <VNM size={16} />
 * <VNM size={32} className="text-primary" />
 */
export const VNM = ({ size = 16, ...props }: VNMProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_43_2859)">
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#D80027"/>
<path d="M12 6.26086L13.2951 10.2466H17.4859L14.0954 12.7099L15.3905 16.6957L12 14.2323L8.60954 16.6957L9.9046 12.7099L6.51413 10.2466H10.7049L12 6.26086Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2859">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
