import type { SVGProps } from "react";

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

/**
 * Greece — GRC icon from flag category
 *
 * @example
 * <GRC size={16} />
 * <GRC size={32} className="text-primary" />
 */
export const GRC = ({ size = 16, ...props }: GRCProps) => (
  <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_1568)">
<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 8.86956H23.5866C23.2857 7.75328 22.8284 6.70136 22.2387 5.73911H12V8.86956Z" fill="#338AF3"/>
<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="#338AF3"/>
<path d="M4.1739 2.90338C3.23049 3.71577 2.41492 4.67244 1.76129 5.73913H4.1739V2.90338Z" fill="#338AF3"/>
<path d="M12 12C12 10.7777 12 9.75472 12 8.86954H7.30434V12H4.17389V8.86954H0.413391C0.144375 9.86769 0 10.9169 0 12C0 13.0831 0.144375 14.1323 0.413391 15.1304H23.5867C23.8556 14.1323 24 13.0831 24 12H12Z" fill="#338AF3"/>
<path d="M12 0C10.3336 0 8.74667 0.339984 7.30432 0.953812V5.73914H12C12 4.64639 12 3.717 12 2.60869H19.4698C17.4199 0.976125 14.8241 0 12 0Z" fill="#338AF3"/>
</g>
<defs>
<clipPath id="clip0_43_1568">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
