import type { SVGProps } from "react";

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

/**
 * Gambia — GMB icon from flag category
 *
 * @example
 * <GMB size={16} />
 * <GMB size={32} className="text-primary" />
 */
export const GMB = ({ size = 16, ...props }: GMBProps) => (
  <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_1540)">
<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.03897 0 2.78141 3.01059 0.953796 7.30434H23.0462C21.2186 3.01059 16.961 0 12 0Z" fill="#A2001D"/>
<path d="M12 24C16.961 24 21.2186 20.9894 23.0462 16.6956H0.953796C2.78141 20.9894 7.03897 24 12 24Z" fill="#496E2D"/>
<path d="M23.5866 8.86954H0.413391C0.144375 9.86765 0 10.9169 0 12C0 13.0831 0.144375 14.1323 0.413391 15.1304H23.5867C23.8556 14.1323 24 13.0831 24 12C24 10.9169 23.8556 9.86765 23.5866 8.86954Z" fill="#0052B4"/>
</g>
<defs>
<clipPath id="clip0_43_1540">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
