import type { SVGProps } from "react";

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

/**
 * Suriname — SUR icon from flag category
 *
 * @example
 * <SUR size={16} />
 * <SUR size={32} className="text-primary" />
 */
export const SUR = ({ size = 16, ...props }: SURProps) => (
  <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_2546)">
<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="M23.2536 7.82611H0.746344C0.264047 9.12614 0 10.5322 0 12C0 13.4678 0.264047 14.874 0.746344 16.1739H23.2536C23.736 14.874 24 13.4678 24 12C24 10.5322 23.736 9.12614 23.2536 7.82611Z" fill="#A2001D"/>
<path d="M12.0347 24C16.1448 24 19.7718 21.9332 21.9345 18.7826H2.13495C4.29767 21.9332 7.92457 24 12.0347 24Z" fill="#6DA544"/>
<path d="M12.0347 9.15527e-05C16.1448 9.15527e-05 19.7718 2.0669 21.9345 5.21747H2.13495C4.29767 2.0669 7.92457 9.15527e-05 12.0347 9.15527e-05Z" fill="#6DA544"/>
<path d="M12 7.82611L13.036 11.0145H16.3887L13.6763 12.9854L14.7124 16.1739L12 14.2033L9.28756 16.1739L10.3237 12.9854L7.61127 11.0145H10.964L12 7.82611Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2546">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
