import type { SVGProps } from "react";

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

/**
 * Ireland — IRL icon from flag category
 *
 * @example
 * <IRL size={16} />
 * <IRL size={32} className="text-primary" />
 */
export const IRL = ({ size = 16, ...props }: IRLProps) => (
  <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_1714)">
<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="M24.0001 12C24.0001 6.84046 20.7436 2.4419 16.174 0.746429V23.2537C20.7436 21.5581 24.0001 17.1596 24.0001 12Z" fill="#FF9811"/>
<path d="M0 12C0 17.1596 3.2565 21.5581 7.82611 23.2536V0.746429C3.2565 2.4419 0 6.84046 0 12Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_1714">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
