import type { SVGProps } from "react";

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

/**
 * Nauru — NRU icon from flag category
 *
 * @example
 * <NRU size={16} />
 * <NRU size={32} className="text-primary" />
 */
export const NRU = ({ size = 16, ...props }: NRUProps) => (
  <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_2056)">
<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="#0052B4"/>
<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="M12 0C5.7242 0 0.574606 4.81786 0.0457153 10.9565H23.9544C23.4254 4.81786 18.2758 0 12 0Z" fill="#0052B4"/>
<path d="M12 24C18.2758 24 23.4254 19.1821 23.9544 13.0435H0.0457153C0.574606 19.1821 5.7242 24 12 24Z" fill="#0052B4"/>
<path d="M9.91306 16.1739L8.5684 16.8064L9.28442 18.1086L7.82431 17.8293L7.63929 19.3043L6.62225 18.2195L5.60525 19.3043L5.42023 17.8293L3.96008 18.1086L4.67614 16.8063L3.33148 16.1739L4.67619 15.5414L3.96008 14.2392L5.42019 14.5185L5.60529 13.0435L6.62225 14.1283L7.63934 13.0435L7.82431 14.5185L9.28447 14.2392L8.56845 15.5414L9.91306 16.1739Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2056">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
