import React from 'react';

const LoadingSpinner = ({ message = "Generating puzzle..." }) => {
  return (
    <div className="loading-spinner">
      <div className="spinner"></div>
      <p className="loading-message">{message}</p>
    </div>
  );
};

export default LoadingSpinner;