import type { SVGProps } from "react";

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

/**
 * South Sudan — SSD icon from flag category
 *
 * @example
 * <SSD size={16} />
 * <SSD size={32} className="text-primary" />
 */
export const SSD = ({ size = 16, ...props }: SSDProps) => (
  <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_2500)">
<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.0639 7.3478C21.2466 3.03103 16.9776 0 12 0C8.68622 0 5.68654 1.34339 3.51511 3.51511L6.52026 7.3478H23.0639Z" fill="black"/>
<path d="M6.55434 16.6088L3.51511 20.4849C5.68654 22.6566 8.68622 24 12 24C16.9943 24 21.2755 20.9487 23.0824 16.6088H6.55434Z" fill="#496E2D"/>
<path d="M2.60867 8.82608V15.1304H23.5866C23.8558 14.1324 24 13.0831 24 12C24 10.9011 23.852 9.83708 23.5753 8.82608H2.60867Z" fill="#A2001D"/>
<path d="M3.51468 3.51468C-1.1716 8.20096 -1.1716 15.799 3.51468 20.4853C5.45123 18.5488 7.31371 16.6863 12 12L3.51468 3.51468Z" fill="#0052B4"/>
<path d="M3.90871 9.01651L5.37332 11.0603L7.76994 10.2988L6.2788 12.3235L7.74341 14.3674L5.3571 13.5749L3.86591 15.5995L3.88232 13.085L1.49591 12.2924L3.89235 11.5309L3.90871 9.01651Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2500">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
