import React from 'react';

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

const ModalOverlay: React.FC<ModalOverlayProps> = ({ onClick }) => {
  return (
    <div
      className="fixed inset-0 bg-black/50 backdrop-blur-sm transition-opacity duration-300"
      onClick={onClick}
    />
  );
};

export default ModalOverlay;