import type { SVGProps } from "react";

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

/**
 * Switzerland — CHE icon from flag category
 *
 * @example
 * <CHE size={16} />
 * <CHE size={32} className="text-primary" />
 */
export const CHE = ({ size = 16, ...props }: CHEProps) => (
  <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_2575)">
<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="M18.2609 9.91307H14.087V5.73914H9.91303V9.91307H5.73914V14.087H9.91303V18.2609H14.087V14.087H18.2609V9.91307Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2575">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
