import type { SVGProps } from "react";

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

/**
 * Türkiye — TUR icon from flag category
 *
 * @example
 * <TUR size={16} />
 * <TUR size={32} className="text-primary" />
 */
export const TUR = ({ size = 16, ...props }: TURProps) => (
  <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_2669)">
<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="#D80027"/>
<path d="M11.5087 9.80557L12.4933 11.1624L14.0879 10.6453L13.1017 12.001L14.0862 13.3577L12.4922 12.8387L11.5061 14.1943L11.5071 12.518L9.91309 11.999L11.5077 11.482L11.5087 9.80557Z" fill="#F0F0F0"/>
<path d="M8.82162 15.3913C6.94868 15.3913 5.43031 13.8729 5.43031 12C5.43031 10.127 6.94868 8.60867 8.82162 8.60867C9.40559 8.60867 9.95506 8.75638 10.4348 9.0163C9.6822 8.28027 8.65296 7.82605 7.51727 7.82605C5.21206 7.82605 3.34338 9.69477 3.34338 11.9999C3.34338 14.3051 5.2121 16.1738 7.51727 16.1738C8.65306 16.1738 9.68224 15.7196 10.4348 14.9836C9.95506 15.2436 9.40559 15.3913 8.82162 15.3913Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2669">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
