import type { SVGProps } from "react";

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

/**
 * Corsica icon from flag category
 *
 * @example
 * <Corsica size={16} />
 * <Corsica size={32} className="text-primary" />
 */
export const Corsica = ({ size = 16, ...props }: CorsicaProps) => (
  <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_1300)">
<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="#FCFCFC"/>
<path d="M16.1782 10.1641C16.1782 7.62606 14.1208 5.56866 11.5829 5.56866C9.71002 5.56866 8.1 6.68945 7.38412 8.29651L6.81736 10.3513L7.33908 10.873L6.29559 12.96L7.33908 13.4817L6.81736 14.0034V14.5251L7.33908 15.0468V16.0903L7.8608 16.612L9.426 16.0903C9.426 16.0903 9.426 16.612 9.94772 17.1338C10.4694 17.6555 10.9912 18.6991 10.9912 18.6991C10.9912 18.6991 12.5565 19.2208 13.5999 17.6556C14.6434 16.0904 15.6869 15.5686 15.6869 15.5686L14.6812 13.557C15.6009 12.7169 16.1782 11.5081 16.1782 10.1641Z" fill="black"/>
<path d="M16.5528 11.9214C18.6729 11.5638 19.0261 7.41223 19.0261 7.41223H16.1044C17.6174 11.0644 16.0337 11.3101 16.0337 11.3101C15.8192 11.1505 8.14114 7.51315 7.89776 7.42067C7.83912 7.49914 7.62326 7.70525 7.36086 8.34697C7.0984 8.98868 7.034 9.566 7.034 9.566C7.1569 9.64611 15.3109 12.4933 15.5265 12.5171C15.9542 12.7967 16.4805 13.633 16.1864 16.1126L18.9986 15.32C18.9987 15.32 18.0443 12.7812 16.5528 11.9214Z" fill="#ACABB1"/>
</g>
<defs>
<clipPath id="clip0_43_1300">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
