import { AppHeader } from "../AppHeader";

interface FeedHeaderProps {
  topicTitle: string;
  subtitle?: string;
  onBack: () => void;
}

export function FeedHeader({ topicTitle, subtitle, onBack }: FeedHeaderProps) {
  return (
    <div className="flex-shrink-0 w-full">
      <AppHeader showBack onBack={onBack} centerTitle={topicTitle} centerSubtitle={subtitle} />
    </div>
  );
}
