import type { SVGProps } from "react";

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

/**
 * Sweden — SWE icon from flag category
 *
 * @example
 * <SWE size={16} />
 * <SWE size={32} className="text-primary" />
 */
export const SWE = ({ size = 16, ...props }: SWEProps) => (
  <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_2568)">
<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="#FFDA44"/>
<path d="M9.39134 10.4348H23.8984C23.1314 4.54697 18.0969 0 12 0C11.104 0 10.2312 0.0990469 9.3913 0.285234V10.4348H9.39134Z" fill="#0052B4"/>
<path d="M6.26084 10.4347V1.45908C2.96581 3.25692 0.607016 6.55462 0.101562 10.4348H6.26084V10.4347Z" fill="#0052B4"/>
<path d="M6.2608 13.5652H0.101562C0.607016 17.4454 2.96581 20.7431 6.26084 22.5409L6.2608 13.5652Z" fill="#0052B4"/>
<path d="M9.3913 13.5653V23.7148C10.2312 23.901 11.104 24 12 24C18.0969 24 23.1314 19.453 23.8984 13.5652H9.3913V13.5653Z" fill="#0052B4"/>
</g>
<defs>
<clipPath id="clip0_43_2568">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
