import type { SVGProps } from "react";

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

/**
 * Lebanon — LBN icon from flag category
 *
 * @example
 * <LBN size={16} />
 * <LBN size={32} className="text-primary" />
 */
export const LBN = ({ size = 16, ...props }: LBNProps) => (
  <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_1819)">
<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 0C7.24248 0 3.13173 2.76867 1.19073 6.78263H22.8092C20.8683 2.76867 16.7575 0 12 0Z" fill="#D80027"/>
<path d="M12 24C16.7575 24 20.8683 21.2313 22.8093 17.2174H1.19073C3.13173 21.2313 7.24248 24 12 24Z" fill="#D80027"/>
<path d="M15.1305 14.087L12 8.34784L8.86957 14.087H11.2174V15.6522H12.7826V14.087H15.1305Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_1819">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
