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

export function PageHeader({ title, description, action }: PageHeaderProps) {
  return (
    <div className="flex items-start justify-between">
      <div>
        <h1 className="text-xl font-bold text-surface-900 dark:text-surface-100">{title}</h1>
        {description && (
          <p className="mt-1 text-sm text-surface-500 dark:text-surface-400">{description}</p>
        )}
      </div>
      {action && <div>{action}</div>}
    </div>
  );
}
