import type { SVGProps } from "react";

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

/**
 * Zimbabwe — ZWE icon from flag category
 *
 * @example
 * <ZWE size={16} />
 * <ZWE size={32} className="text-primary" />
 */
export const ZWE = ({ size = 16, ...props }: ZWEProps) => (
  <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_2889)">
<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="M22.8514 6.87203C22.2418 5.58419 21.4097 4.42248 20.4047 3.436L12 2.6087L3.59531 3.43605C3.5685 3.46234 3.54234 3.48925 3.51581 3.51583L6.87206 6.87208L12 7.02869L22.8514 6.87203Z" fill="#FFDA44"/>
<path d="M3.51569 20.4843C3.55984 20.5285 3.6039 20.5727 3.64872 20.6162L12 21.3913L20.3512 20.6162C21.3666 19.6318 22.2088 18.47 22.8271 17.1802L7.30431 16.6957C5.9687 18.0313 4.4282 19.5717 3.51569 20.4843Z" fill="#FFDA44"/>
<path d="M23.8807 10.308L9.91302 9.91302L12 12C11.3819 12.6181 10.4591 13.5409 9.91302 14.087L23.8733 13.7441C23.9563 13.1746 24 12.5924 24 12C24 11.4256 23.9587 10.8609 23.8807 10.308Z" fill="black"/>
<path d="M12 0C8.72684 0 5.76031 1.31109 3.59534 3.43603H20.4047C18.2397 1.31109 15.2732 0 12 0Z" fill="#6DA544"/>
<path d="M10.308 10.308H23.8806C23.7094 9.09496 23.3571 7.94024 22.8514 6.87201H6.87201L10.308 10.308Z" fill="#D80027"/>
<path d="M6.81982 17.1802H22.8271C23.3387 16.1127 23.6966 14.9579 23.8734 13.7441H10.2559C8.92521 15.0748 7.7975 16.2025 6.81982 17.1802Z" fill="#D80027"/>
<path d="M12 24C15.2463 24 18.191 22.7104 20.3512 20.6161H3.6488C5.80899 22.7104 8.75368 24 12 24Z" fill="#6DA544"/>
<path d="M4.2851 2.80939C4.01833 3.03354 3.76094 3.26853 3.51471 3.51467L12 12L3.51471 20.4853C3.7609 20.7315 4.01833 20.9664 4.2851 21.1906L13.4757 12L4.2851 2.80939Z" fill="black"/>
<path d="M4.82461 8.86957L5.60156 11.2609H8.11617L6.08189 12.739L6.85889 15.1305L4.82461 13.6525L2.79028 15.1305L3.56738 12.739L1.53314 11.2609H4.04761L4.82461 8.86957Z" fill="#D80027"/>
<path d="M6.96184 12.1956L4.93694 11.4783C4.93694 11.4783 4.78731 10.0747 4.77827 10.0271C4.70955 9.66509 4.39141 9.3913 4.00937 9.3913C3.57719 9.3913 3.22675 9.74169 3.22675 10.1739C3.22675 10.2456 3.2372 10.3146 3.25525 10.3806L2.6875 10.9522H3.697C3.697 12 2.91512 12 2.91512 13.0435L3.34886 14.087H5.95755L6.39236 13.0435H6.39217C6.43572 12.9433 6.46216 12.8401 6.47308 12.7369C6.84789 12.5853 6.96184 12.1956 6.96184 12.1956Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2889">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
