const WhatsappCloseConversationButton = ({
  onClick,
}: {
  onClick: () => void;
}) => (
  <div className="flex justify-center mt-3 mb-1">
    <button
      type="button"
      onClick={onClick}
      className="px-4 py-2 rounded-lg text-[14px] font-medium
        text-[var(--tg-danger)] bg-[var(--tg-bg)]
        border border-[var(--tg-danger-soft)]
        shadow-sm tg-press hover:bg-[var(--tg-danger-soft)]"
    >
      Закрыть обращение
    </button>
  </div>
);

export default WhatsappCloseConversationButton;
