import type { SVGProps } from "react";

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

/**
 * Burkina Faso — BFA icon from flag category
 *
 * @example
 * <BFA size={16} />
 * <BFA size={32} className="text-primary" />
 */
export const BFA = ({ size = 16, ...props }: BFAProps) => (
  <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_1125)">
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12C23.4783 12 12 13.5652 12 13.5652L0 12Z" fill="#D80027"/>
<path d="M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12" fill="#6DA544"/>
<path d="M11.9999 7.82611L12.9064 10.616H15.8401L13.4667 12.3404L14.3732 15.1305L11.9999 13.4062L9.6266 15.1305L10.5332 12.3404L8.15979 10.616H11.0934L11.9999 7.82611Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_1125">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
