const TelegramCloseConversationButton = ({
  onClick,
}: {
  onClick: () => void;
}) => (
  <div className="flex justify-center mt-3 mb-1">
    <button
      type="button"
      onClick={onClick}
      className="px-3 py-1.5 rounded-full bg-[var(--tg-bg)]
                      text-[var(--tg-danger)] text-[13px] font-medium
                      border border-[var(--tg-danger-soft)]
                      shadow-sm tg-press hover:bg-[var(--tg-danger-soft)]"
    >
      Завершить диалог
    </button>
  </div>
);

export default TelegramCloseConversationButton;
