import type { SVGProps } from "react";

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

/**
 * Burundi — BDI icon from flag category
 *
 * @example
 * <BDI size={16} />
 * <BDI size={32} className="text-primary" />
 */
export const BDI = ({ size = 16, ...props }: BDIProps) => (
  <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_1129)">
<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="M19.3067 2.4798C15.0105 -0.826104 8.98949 -0.826104 4.6933 2.47975L12 9.78644L19.3067 2.4798Z" fill="#D80027"/>
<path d="M11.9999 14.2137L4.6933 21.5202C8.98949 24.8262 15.0105 24.8262 19.3067 21.5202L12 14.2136L11.9999 14.2137Z" fill="#D80027"/>
<path d="M9.78644 12L2.4798 4.6933C-0.82611 8.98949 -0.82611 15.0105 2.4798 19.3067L9.78644 12Z" fill="#6DA544"/>
<path d="M14.2137 12L21.5202 19.3067C24.8262 15.0105 24.8262 8.98949 21.5202 4.6933L14.2137 12Z" fill="#6DA544"/>
<path d="M12 17.2174C14.8815 17.2174 17.2174 14.8815 17.2174 12C17.2174 9.11855 14.8815 6.78265 12 6.78265C9.11852 6.78265 6.78262 9.11855 6.78262 12C6.78262 14.8815 9.11852 17.2174 12 17.2174Z" fill="#F0F0F0"/>
<path d="M12 8.34784L12.4518 9.13046H13.3555L12.9037 9.91304L13.3555 10.6957H12.4518L12 11.4783L11.5482 10.6957H10.6445L11.0964 9.91304L10.6445 9.13046H11.5482L12 8.34784Z" fill="#D80027"/>
<path d="M9.70337 12L10.1552 12.7826H11.0589L10.607 13.5652L11.0589 14.3478H10.1552L9.70337 15.1305L9.2515 14.3478H8.34784L8.79967 13.5652L8.34784 12.7826H9.2515L9.70337 12Z" fill="#D80027"/>
<path d="M14.2967 12L14.7485 12.7826H15.6522L15.2003 13.5652L15.6522 14.3478H14.7485L14.2967 15.1305L13.8448 14.3478H12.9412L13.393 13.5652L12.9412 12.7826H13.8448L14.2967 12Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_1129">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
