import type { SVGProps } from "react";

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

/**
 * St. Lucia — LCA icon from flag category
 *
 * @example
 * <LCA size={16} />
 * <LCA size={32} className="text-primary" />
 */
export const LCA = ({ size = 16, ...props }: LCAProps) => (
  <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_2528)">
<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="#338AF3"/>
<path d="M7.56522 16.1739H16.4348L12 5.73914L7.56522 16.1739Z" fill="#F3F3F3"/>
<path d="M9.10645 15.1304L12 8.54877L14.8935 15.1304H9.10645Z" fill="#333333"/>
<path d="M7.56522 16.1739H16.4348L12 12L7.56522 16.1739Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2528">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
