import type { SVGProps } from "react";

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

/**
 * Seychelles — SYC icon from flag category
 *
 * @example
 * <SYC size={16} />
 * <SYC size={32} className="text-primary" />
 */
export const SYC = ({ size = 16, ...props }: SYCProps) => (
  <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_2389)">
<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="M20.1004 3.14705C17.9658 1.19273 15.1223 0 12 0C11.4889 0 10.9852 0.0322031 10.4909 0.0942187L4.69568 6.78263L0.379761 15.0061C0.658573 16.0871 1.08485 17.1087 1.63484 18.0491L12 12L20.1004 3.14705Z" fill="#FFDA44"/>
<path d="M21.9905 18.6487L5.20142 21.8887C7.13403 23.22 9.47581 24 12 24C16.1682 24 19.8394 21.8746 21.9905 18.6487Z" fill="#6DA544"/>
<path d="M20.1021 3.14862L1.64166 18.0607C2.12452 18.8842 2.70263 19.6451 3.36108 20.328L24 12C24 8.49565 22.4976 5.34246 20.1021 3.14862Z" fill="#D80027"/>
<path d="M0 12C0 13.0382 0.131906 14.0455 0.379734 15.0062L10.4909 0.0942383C4.57584 0.836457 0 5.88377 0 12Z" fill="#0052B4"/>
</g>
<defs>
<clipPath id="clip0_43_2389">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
