import type { SVGProps } from "react";

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

/**
 * Nigeria — NGA icon from flag category
 *
 * @example
 * <NGA size={16} />
 * <NGA size={32} className="text-primary" />
 */
export const NGA = ({ size = 16, ...props }: NGAProps) => (
  <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_2105)">
<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="M0 12C0 17.1596 3.2565 21.5581 7.82611 23.2537V0.74646C3.2565 2.44193 0 6.84049 0 12Z" fill="#6DA544"/>
<path d="M24 12C24 6.84049 20.7435 2.44193 16.1739 0.74646V23.2537C20.7435 21.5581 24 17.1596 24 12Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_2105">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
