import type { SVGProps } from "react";

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

/**
 * Norfolk Island — NFK icon from flag category
 *
 * @example
 * <NFK size={16} />
 * <NFK size={32} className="text-primary" />
 */
export const NFK = ({ size = 16, ...props }: NFKProps) => (
  <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_2127)">
<path d="M17.2174 1.19072C15.6397 0.427875 13.8699 0 12 0C10.1301 0 8.36025 0.427875 6.78262 1.19072L5.73914 12L6.78262 22.8093C8.36025 23.5721 10.1301 24 12 24C13.8699 24 15.6397 23.5721 17.2174 22.8093L18.2609 12L17.2174 1.19072Z" fill="#F0F0F0"/>
<path d="M6.78263 1.19116C2.76867 3.13207 0 7.24249 0 12C0 16.7576 2.76867 20.868 6.78263 22.8089V1.19116Z" fill="#6DA544"/>
<path d="M17.2174 1.19116V22.8089C21.2314 20.868 24 16.7575 24 12C24 7.24254 21.2314 3.13207 17.2174 1.19116Z" fill="#6DA544"/>
<path d="M15.1304 15.6522L12 5.73914L8.86951 15.6522H11.2173V18.2609H12.7826V15.6522H15.1304Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_2127">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
