import type { SVGProps } from "react";

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

/**
 * Denmark — DNK icon from flag category
 *
 * @example
 * <DNK size={16} />
 * <DNK size={32} className="text-primary" />
 */
export const DNK = ({ size = 16, ...props }: DNKProps) => (
  <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_1367)">
<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="M9.3914 10.4348H23.8985C23.1315 4.54697 18.0969 0 12 0C11.104 0 10.2314 0.0990469 9.39136 0.285234V10.4348H9.3914Z" fill="#D80027"/>
<path d="M6.26084 10.4348V1.45911C2.96586 3.25695 0.607016 6.55465 0.101562 10.4348H6.26084V10.4348Z" fill="#D80027"/>
<path d="M6.2608 13.5652H0.101562C0.607016 17.4454 2.96586 20.7431 6.26084 22.5409L6.2608 13.5652Z" fill="#D80027"/>
<path d="M9.39136 13.5652V23.7147C10.2314 23.9009 11.104 24 12 24C18.0969 24 23.1315 19.453 23.8985 13.5652H9.39136V13.5652Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_1367">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
