import type { SVGProps } from "react";

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

/**
 * Mauritius — MUS icon from flag category
 *
 * @example
 * <MUS size={16} />
 * <MUS size={32} className="text-primary" />
 */
export const MUS = ({ size = 16, ...props }: MUSProps) => (
  <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_1939)">
<path d="M1.45911 6.26086L12 7.30434L22.5409 6.26086C20.5057 2.53073 16.5485 0 12 0C7.45151 0 3.49437 2.53073 1.45911 6.26086Z" fill="#D80027"/>
<path d="M1.45908 17.7392L12 18.7827L22.5409 17.7392C23.4711 16.0343 24 14.0789 24 12L12 10.9565L0 12C0 14.0789 0.528891 16.0343 1.45908 17.7392Z" fill="#FFDA44"/>
<path d="M1.45908 6.26086C0.528891 7.96575 0 9.9211 0 12H24C24 9.9211 23.4711 7.96575 22.5409 6.26086H12H1.45908Z" fill="#0052B4"/>
<path d="M12 24C16.5485 24 20.5057 21.4693 22.5409 17.7391H1.45911C3.49437 21.4693 7.45151 24 12 24Z" fill="#6DA544"/>
</g>
<defs>
<clipPath id="clip0_43_1939">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
