import type { SVGProps } from "react";

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

/**
 * Syria — SYR icon from flag category
 *
 * @example
 * <SYR size={16} />
 * <SYR size={32} className="text-primary" />
 */
export const SYR = ({ size = 16, ...props }: SYRProps) => (
  <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_2578)">
<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="M12 0C6.84043 0 2.44191 3.2565 0.746399 7.82611H23.2537C21.5581 3.2565 17.1596 0 12 0Z" fill="#D80027"/>
<path d="M12 24C17.1596 24 21.5581 20.7435 23.2536 16.1739H0.746399C2.44191 20.7435 6.84043 24 12 24Z" fill="black"/>
<path d="M7.17012 9.13046L7.81761 11.1232H9.91306L8.21783 12.355L8.86536 14.3478L7.17012 13.1162L5.47489 14.3478L6.12242 12.355L4.42719 11.1232H6.52264L7.17012 9.13046Z" fill="#6DA544"/>
<path d="M16.8299 9.13046L17.4774 11.1232H19.5729L17.8776 12.355L18.5251 14.3478L16.8299 13.1162L15.1347 14.3478L15.7822 12.355L14.087 11.1232H16.1824L16.8299 9.13046Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_2578">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
