import type { SVGProps } from "react";

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

/**
 * Argentina — ARG icon from flag category
 *
 * @example
 * <ARG size={16} />
 * <ARG size={32} className="text-primary" />
 */
export const ARG = ({ size = 16, ...props }: ARGProps) => (
  <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_849)">
<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="#F0F0F0"/>
<path d="M12 0C7.24248 0 3.13173 2.76867 1.19073 6.78263H22.8092C20.8683 2.76867 16.7575 0 12 0Z" fill="#338AF3"/>
<path d="M12 24C16.7575 24 20.8683 21.2313 22.8093 17.2173H1.19073C3.13173 21.2313 7.24248 24 12 24Z" fill="#338AF3"/>
<path d="M15.5866 12L14.1211 12.6894L14.9015 14.1087L13.3101 13.8043L13.1084 15.4119L12 14.2295L10.8915 15.4119L10.6899 13.8043L9.09845 14.1087L9.87883 12.6894L8.41333 12L9.87888 11.3106L9.09845 9.89135L10.6898 10.1958L10.8915 8.58813L12 9.77051L13.1085 8.58813L13.3101 10.1958L14.9015 9.89135L14.1211 11.3107L15.5866 12Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_849">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
