import type { SVGProps } from "react";

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

/**
 * Aruba — ABW icon from flag category
 *
 * @example
 * <ABW size={16} />
 * <ABW size={32} className="text-primary" />
 */
export const ABW = ({ size = 16, ...props }: ABWProps) => (
  <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_859)">
<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="#FFDA44"/>
<path d="M12 24C15.6371 24 18.896 22.3817 21.0966 19.8261H2.90338C5.10402 22.3817 8.36291 24 12 24Z" fill="#338AF3"/>
<path d="M24 12C24 5.37262 18.6274 0 12 0C5.37262 0 0 5.37262 0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12Z" fill="#338AF3"/>
<path d="M0.953857 16.6957C1.18519 17.2392 1.45561 17.762 1.76128 18.2609H22.2387C22.5444 17.7619 22.8148 17.2392 23.0462 16.6957H0.953857Z" fill="#338AF3"/>
<path d="M5.49922 7.56855L3.15472 6.53384L5.49922 5.49912L6.5339 3.15466L7.56857 5.49912L9.91302 6.53384L7.56857 7.56855L6.5339 9.91301L5.49922 7.56855Z" fill="#F0F0F0"/>
<path d="M6.53393 4.4469L7.17288 5.89482L8.62085 6.53387L7.17288 7.17287L6.53393 8.62079L5.89488 7.17287L4.44696 6.53387L5.89488 5.89482L6.53393 4.4469Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_859">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
