import type { SVGProps } from "react";

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

/**
 * Latvia — LVA icon from flag category
 *
 * @example
 * <LVA size={16} />
 * <LVA size={32} className="text-primary" />
 */
export const LVA = ({ size = 16, ...props }: LVAProps) => (
  <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_1814)">
<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 0C6.45567 0 1.79039 3.76036 0.413391 8.86955H23.5867C22.2096 3.76036 17.5443 0 12 0Z" fill="#A2001D"/>
<path d="M12 24C17.5443 24 22.2096 20.2396 23.5866 15.1305H0.413391C1.79039 20.2396 6.45567 24 12 24Z" fill="#A2001D"/>
</g>
<defs>
<clipPath id="clip0_43_1814">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
