import type { SVGProps } from "react";

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

/**
 * Saint Kitts and Nevis — KNA icon from flag category
 *
 * @example
 * <KNA size={16} />
 * <KNA size={32} className="text-primary" />
 */
export const KNA = ({ size = 16, ...props }: KNAProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_26781_1047)">
<circle cx="12" cy="12" fill="#3A7DCE" r="12"/>
<g clipPath="url(#clip1_26781_1047)">
<mask height="24" id="mask0_26781_1047" maskUnits="userSpaceOnUse" style={{ maskType: "luminance" }} width="33" x="-4" y="0">
<path d="M-4 0H28.0016V24H-4V0Z" fill="white"/>
</mask>
<g mask="url(#mask0_26781_1047)">
<path clipRule="evenodd" d="M-5.29834 0.0093689H29.2767V23.9766H-5.29834V0.0093689Z" fill="#FFE900" fillRule="evenodd"/>
<path clipRule="evenodd" d="M-5.31714 0.009375L-5.27964 17.2875L21.6266 0L-5.31714 0.009375Z" fill="#35A100" fillRule="evenodd"/>
<path clipRule="evenodd" d="M29.3188 23.9766L29.2532 6.01407L2.11255 23.9906L29.3188 23.9766Z" fill="#C70000" fillRule="evenodd"/>
<path clipRule="evenodd" d="M-5.30304 18.5906L-5.2796 24L0.593836 23.9906L29.2673 4.76718L29.2392 0.0656189L23.436 0.0093689L-5.30304 18.5906Z" fill="#000001" fillRule="evenodd"/>
<path clipRule="evenodd" d="M17.586 7.34063L17.1267 5.3625L18.6876 6.62813L20.4688 5.475L19.6532 7.41094L21.2188 8.67657L19.147 8.60625L18.336 10.5422L17.872 8.56407L15.8048 8.49375L17.586 7.34063ZM4.68604 15.7313L4.22197 13.7484L5.78291 15.0141L7.56416 13.8609L6.74853 15.7969L8.31416 17.0625L6.24697 16.9922L5.43135 18.9281L4.97197 16.95L2.90479 16.8797L4.68604 15.7313Z" fill="white" fillRule="evenodd"/>
</g>
</g>
</g>
<defs>
<clipPath id="clip0_26781_1047">
<rect fill="white" height="24" rx="12" width="24"/>
</clipPath>
<clipPath id="clip1_26781_1047">
<rect fill="white" height="24" width="32"/>
</clipPath>
</defs>
  </svg>
);
