'use client'; interface TopicInputProps { value: string; onChange: (value: string) => void; onResearch: () => void; isResearching: boolean; } export default function TopicInput({ value, onChange, onResearch, isResearching, }: TopicInputProps): React.ReactElement { return (
onChange(e.target.value)} placeholder="e.g. productivity tips for remote workers" className="flex-1 px-4 py-3 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500" />

We'll find trending posts and articles on this topic to inspire your carousel

); }