import React from 'react';

interface ModalCloseButtonProps {
  onClick: () => void;
}

const ModalCloseButton: React.FC<ModalCloseButtonProps> = ({ onClick }) => {
  return (
    <button
      onClick={onClick}
      className="px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition-colors duration-200 font-medium"
    >
      返回
    </button>
  );
};

export default ModalCloseButton;