import type { SVGProps } from "react";

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

/**
 * Belgium — BEL icon from flag category
 *
 * @example
 * <BEL size={16} />
 * <BEL size={32} className="text-primary" />
 */
export const BEL = ({ size = 16, ...props }: BELProps) => (
  <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_960)">
<path d="M16.1739 0.746391C14.8739 0.264047 13.4679 0 12 0C10.5322 0 9.12612 0.264047 7.82614 0.746391L6.78265 12L7.82614 23.2536C9.12612 23.736 10.5322 24 12 24C13.4679 24 14.8739 23.736 16.1739 23.2536L17.2174 12L16.1739 0.746391Z" fill="#FFDA44"/>
<path d="M24 12C24 6.84049 20.7435 2.44193 16.1739 0.74646V23.2537C20.7435 21.5581 24 17.1596 24 12Z" fill="#D80027"/>
<path d="M0 12C0 17.1596 3.2565 21.5581 7.82611 23.2537V0.74646C3.2565 2.44193 0 6.84049 0 12Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_43_960">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
