import React from 'react';
import { NotificationCenter } from './NotificationCenter.tsx';

interface PageHeaderProps {
    title: string;
    description?: string;
    children?: React.ReactNode;
}

export const PageHeader: React.FC<PageHeaderProps> = ({ title, description, children }) => {
    return (
        <div className="flex justify-between items-center mb-6">
            <div>
                <h2 className="text-2xl font-bold text-gray-900 uppercase">{title}</h2>
                {description && <p className="text-gray-500 text-xs uppercase font-bold mt-1">{description}</p>}
            </div>
            <div className="flex items-center gap-3">
                {children}
            </div>
        </div>
    );
};
