import type { SVGProps } from "react";

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

/**
 * Colombia — COL icon from flag category
 *
 * @example
 * <COL size={16} />
 * <COL size={32} className="text-primary" />
 */
export const COL = ({ size = 16, ...props }: COLProps) => (
  <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_1266)">
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12L12 13.0435L0 12Z" fill="#FFDA44"/>
<path d="M1.60577 18C3.6807 21.5867 7.55838 24 12 24C16.4417 24 20.3193 21.5867 22.3943 18L12 17.2173L1.60577 18Z" fill="#D80027"/>
<path d="M22.3942 18C23.4153 16.235 24 14.1858 24 12H0C0 14.1858 0.584719 16.235 1.60575 18H22.3942Z" fill="#0052B4"/>
</g>
<defs>
<clipPath id="clip0_43_1266">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
