import type { SVGProps } from "react";

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

/**
 * Transnistria icon from flag category
 *
 * @example
 * <Transnistria size={16} />
 * <Transnistria size={32} className="text-primary" />
 */
export const Transnistria = ({ size = 16, ...props }: TransnistriaProps) => (
  <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_2652)">
<path d="M23.5866 8.86955C22.2096 3.76036 17.5443 0 12 0C6.45567 0 1.79039 3.76036 0.413391 8.86955L12 9.39131L23.5866 8.86955Z" fill="#A2001D"/>
<path d="M0.413391 15.1305C1.79039 20.2396 6.45567 24 12 24C17.5443 24 22.2096 20.2397 23.5866 15.1305L12 14.6087L0.413391 15.1305Z" fill="#A2001D"/>
<path d="M23.5866 8.86954H0.413391C0.144375 9.86765 0 10.9169 0 12C0 13.0831 0.144375 14.1323 0.413391 15.1304H23.5867C23.8556 14.1323 24 13.0831 24 12C24 10.9169 23.8556 9.86765 23.5866 8.86954Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_2652">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
