import React from 'react';

interface ModalHeaderProps {
  title?: string;
}

const ModalHeader: React.FC<ModalHeaderProps> = ({ title = "变动幅度" }) => {
  return (
    <div className="text-center">
      <h2 className="text-2xl font-bold text-white">{title}</h2>
      <div className="h-px bg-gradient-to-r from-transparent via-blue-500 to-transparent mt-2" />
    </div>
  );
};

export default ModalHeader;