import type { SVGProps } from "react";

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

/**
 * United Kingdom — GBR icon from flag category
 *
 * @example
 * <GBR size={16} />
 * <GBR size={32} className="text-primary" />
 */
export const GBR = ({ size = 16, ...props }: GBRProps) => (
  <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_2754)">
<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="M2.48056 4.69415C1.53796 5.92054 0.827189 7.33406 0.41333 8.86964H6.65605L2.48056 4.69415Z" fill="#0052B4"/>
<path d="M23.5865 8.86965C23.1726 7.33412 22.4618 5.9206 21.5193 4.69421L17.3439 8.86965H23.5865Z" fill="#0052B4"/>
<path d="M0.41333 15.1305C0.827236 16.666 1.538 18.0795 2.48056 19.3059L6.65591 15.1305H0.41333Z" fill="#0052B4"/>
<path d="M19.3058 2.48067C18.0794 1.53806 16.6659 0.827297 15.1304 0.413391V6.65606L19.3058 2.48067Z" fill="#0052B4"/>
<path d="M4.69409 21.5193C5.92048 22.4619 7.334 23.1727 8.86953 23.5866V17.344L4.69409 21.5193Z" fill="#0052B4"/>
<path d="M8.86948 0.413391C7.33395 0.827297 5.92044 1.53806 4.69409 2.48063L8.86948 6.65602V0.413391Z" fill="#0052B4"/>
<path d="M15.1304 23.5866C16.6659 23.1727 18.0794 22.4619 19.3058 21.5194L15.1304 17.344V23.5866Z" fill="#0052B4"/>
<path d="M17.3439 15.1305L21.5193 19.3059C22.4618 18.0796 23.1726 16.666 23.5865 15.1305H17.3439Z" fill="#0052B4"/>
<path d="M23.8984 10.4348H13.5653H13.5653V0.101578C13.0529 0.034875 12.5305 0 12 0C11.4694 0 10.9471 0.034875 10.4348 0.101578V10.4347V10.4347H0.101578C0.034875 10.9471 0 11.4695 0 12C0 12.5306 0.034875 13.0529 0.101578 13.5652H10.4347H10.4347V23.8984C10.9471 23.9651 11.4694 24 12 24C12.5305 24 13.0529 23.9652 13.5652 23.8984V13.5653V13.5653H23.8984C23.9651 13.0529 24 12.5306 24 12C24 11.4695 23.9651 10.9471 23.8984 10.4348Z" fill="#D80027"/>
<path d="M15.1305 15.1305L20.4853 20.4853C20.7316 20.2391 20.9665 19.9817 21.1907 19.7149L16.6062 15.1305H15.1305V15.1305Z" fill="#D80027"/>
<path d="M8.86951 15.1305H8.86941L3.51465 20.4853C3.76084 20.7315 4.01823 20.9665 4.28504 21.1906L8.86951 16.6061V15.1305Z" fill="#D80027"/>
<path d="M8.86951 8.86963V8.86954L3.5147 3.51468C3.26842 3.76087 3.03348 4.01826 2.80933 4.28507L7.39384 8.86959H8.86951V8.86963Z" fill="#D80027"/>
<path d="M15.1305 8.86965L20.4854 3.51475C20.2392 3.26846 19.9818 3.03353 19.715 2.80942L15.1305 7.39393V8.86965Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_2754">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
