import { memo } from "react";

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

const DownloadButton = ({
  onClick,
  text = "Download Brochure",
  className = "",
}: DownloadButtonProps) => {
  return (
    <button
      onClick={onClick}
      className={`w-full py-4 bg-[#333333] text-white hover:scale-105 transition-transform duration-700 ease-in-out cursor-pointer rounded-sm ${className}`}
    >
      {text}
    </button>
  );
};

export default memo(DownloadButton);
