interface DonateIconType {
  className?: string;
  onClick?: () => void;
}

const DonateIcon = ({ className, onClick }: DonateIconType) => {
  return (
    <svg
      width="16"
      height="17"
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <g clipPath="url(#clip0_2465_8443)">
        <path
          d="M3.99992 13.641H5.74011C5.967 13.641 6.19251 13.668 6.41246 13.722L8.25118 14.1689C8.65015 14.2661 9.06577 14.2755 9.4689 14.1972L11.5019 13.8017C12.0389 13.6971 12.533 13.4399 12.9201 13.0633L14.3585 11.6641C14.7693 11.2652 14.7693 10.6179 14.3585 10.2183C13.9887 9.85856 13.4031 9.81806 12.9847 10.1231L11.3083 11.3462C11.0682 11.5217 10.7761 11.6162 10.4757 11.6162H8.85692L9.8873 11.6161C10.4681 11.6161 10.9385 11.1585 10.9385 10.5935V10.389C10.9385 9.91994 10.6103 9.51091 10.1426 9.39752L8.55231 9.01077C8.29351 8.94799 8.02845 8.91627 7.76201 8.91627C7.11881 8.91627 5.95451 9.44881 5.95451 9.44881L3.99992 10.2662M1.33325 9.98294L1.33325 13.8496C1.33325 14.223 1.33325 14.4097 1.40591 14.5523C1.46983 14.6777 1.57182 14.7797 1.69726 14.8436C1.83987 14.9163 2.02655 14.9163 2.39992 14.9163H2.93325C3.30662 14.9163 3.4933 14.9163 3.63591 14.8436C3.76135 14.7797 3.86334 14.6777 3.92726 14.5523C3.99992 14.4097 3.99992 14.223 3.99992 13.8496V9.98294C3.99992 9.60957 3.99992 9.42289 3.92726 9.28028C3.86334 9.15484 3.76135 9.05285 3.63591 8.98893C3.4933 8.91627 3.30662 8.91627 2.93325 8.91627H2.39992C2.02655 8.91627 1.83987 8.91627 1.69726 8.98893C1.57182 9.05285 1.46983 9.15484 1.40591 9.28028C1.33325 9.42289 1.33325 9.60957 1.33325 9.98294ZM11.4608 2.64444C11.063 1.81187 10.1456 1.37079 9.25354 1.79652C8.36144 2.22225 7.98138 3.23186 8.35489 4.11816C8.58572 4.66591 9.24708 5.72961 9.71864 6.46229C9.89288 6.73301 9.98 6.86837 10.1072 6.94756C10.2164 7.01548 10.353 7.05209 10.4815 7.04784C10.6313 7.04289 10.7744 6.96922 11.0607 6.82189C11.8354 6.42315 12.94 5.83264 13.4138 5.47369C14.1804 4.89288 14.3703 3.82532 13.7964 3.01376C13.2224 2.20221 12.2217 2.12235 11.4608 2.64444Z"
          stroke="#FFD633"
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
      </g>
      <defs>
        <clipPath id="clip0_2465_8443">
          <rect
            width="16"
            height="16"
            fill="white"
            transform="translate(0 0.25)"
          />
        </clipPath>
      </defs>
    </svg>
  );
};

export default DonateIcon;
