import type { SVGProps } from "react";

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

/**
 * Laos — LAO icon from flag category
 *
 * @example
 * <LAO size={16} />
 * <LAO size={32} className="text-primary" />
 */
export const LAO = ({ size = 16, ...props }: LAOProps) => (
  <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_1808)">
<path d="M22.8093 6.78263C20.8683 2.76867 16.7575 0 12 0C7.24248 0 3.13173 2.76867 1.19073 6.78263L12 7.82611L22.8093 6.78263Z" fill="#D80027"/>
<path d="M1.19073 17.2174C3.13173 21.2313 7.24248 24 12 24C16.7575 24 20.8683 21.2313 22.8093 17.2174L12 16.1739L1.19073 17.2174Z" fill="#D80027"/>
<path d="M22.8093 6.78262H1.19072C0.427875 8.3602 0 10.1301 0 12C0 13.8699 0.427875 15.6398 1.19072 17.2174H22.8092C23.5722 15.6398 24 13.8699 24 12C24 10.1301 23.5722 8.3602 22.8093 6.78262Z" fill="#0052B4"/>
<path d="M12 16.1739C14.3052 16.1739 16.1739 14.3052 16.1739 12C16.1739 9.69483 14.3052 7.82611 12 7.82611C9.69483 7.82611 7.82611 9.69483 7.82611 12C7.82611 14.3052 9.69483 16.1739 12 16.1739Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_1808">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
