import type { SVGProps } from "react";

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

/**
 * United Arab Emirates — ARE icon from flag category
 *
 * @example
 * <ARE size={16} />
 * <ARE size={32} className="text-primary" />
 */
export const ARE = ({ size = 16, ...props }: AREProps) => (
  <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_2749)">
<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="M6.78259 16.1739L7.82608 23.2537C9.12601 23.7361 10.5321 24 12 24C17.1595 24 21.5581 20.7435 23.2535 16.1739H6.78259Z" fill="black"/>
<path d="M6.78259 7.82611L7.82608 0.746297C9.12601 0.263906 10.5321 0 12 0C17.1595 0 21.5581 3.2565 23.2535 7.82611H6.78259Z" fill="#6DA544"/>
<path d="M0 12C0 17.1596 3.25655 21.5581 7.82611 23.2536V0.746399C3.25655 2.44191 0 6.84043 0 12Z" fill="#A2001D"/>
</g>
<defs>
<clipPath id="clip0_43_2749">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
