import type { SVGProps } from "react";

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

/**
 * Monaco — MCO icon from flag category
 *
 * @example
 * <MCO size={16} />
 * <MCO size={32} className="text-primary" />
 */
export const MCO = ({ size = 16, ...props }: MCOProps) => (
  <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_1984)">
<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="#F0F0F0"/>
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_1984">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
