import type { SVGProps } from "react";

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

/**
 * Japan — JPN icon from flag category
 *
 * @example
 * <JPN size={16} />
 * <JPN size={32} className="text-primary" />
 */
export const JPN = ({ size = 16, ...props }: JPNProps) => (
  <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_1741)">
<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="#F0F0F0"/>
<path d="M12 17.2174C14.8815 17.2174 17.2174 14.8815 17.2174 12C17.2174 9.11852 14.8815 6.78262 12 6.78262C9.11855 6.78262 6.78265 9.11852 6.78265 12C6.78265 14.8815 9.11855 17.2174 12 17.2174Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_1741">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
