import type { SVGProps } from "react";

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

/**
 * Lithuania — LTU icon from flag category
 *
 * @example
 * <LTU size={16} />
 * <LTU size={32} className="text-primary" />
 */
export const LTU = ({ size = 16, ...props }: LTUProps) => (
  <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_1858)">
<path d="M23.2536 16.1739C23.736 14.874 24 13.4679 24 12C24 10.5322 23.736 9.12608 23.2536 7.82614L12 6.78265L0.746391 7.82614C0.264 9.12608 0 10.5322 0 12C0 13.4679 0.264 14.874 0.746391 16.1739L12 17.2174L23.2536 16.1739Z" fill="#6DA544"/>
<path d="M23.2536 7.82611C21.558 3.2565 17.1595 0 11.9999 0C6.84037 0 2.44185 3.2565 0.746338 7.82611H23.2536Z" fill="#FFDA44"/>
<path d="M11.9999 24C17.1595 24 21.558 20.7435 23.2536 16.1739H0.746338C2.44185 20.7435 6.84037 24 11.9999 24Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_1858">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
