import type { SVGProps } from "react";

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

/**
 * Malta — MLT icon from flag category
 *
 * @example
 * <MLT size={16} />
 * <MLT size={32} className="text-primary" />
 */
export const MLT = ({ size = 16, ...props }: MLTProps) => (
  <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_1913)">
<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="M12 0C18.6274 0 24 5.37262 24 12C24 18.6274 18.6274 24 12 24" fill="#D80027"/>
<path d="M8.34783 4.69564V3.13043H6.78263V4.69564H5.21738V6.26084H6.78263V7.82609H8.34783V6.26084H9.91303V4.69564H8.34783Z" fill="#ACABB1"/>
</g>
<defs>
<clipPath id="clip0_43_1913">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
